Parent

Methods

Class/Module Index [+]

Quicksearch

Spec::Example::ExampleProxy

Lightweight proxy for an example. This is the object that is passed to example-related methods in Spec::Runner::Formatter::BaseFormatter

Attributes

description[R]

This is the docstring passed to the it() method or any of its aliases

location[R]

The file and line number at which the represented example was declared. This is extracted from caller, and is therefore formatted as an individual line in a backtrace.

options[R]

Optional hash passed to the example declaration

Public Instance Methods

backtrace() click to toggle source

Deprecated - use location()

# File lib/spec/example/example_proxy.rb, line 24
def backtrace
  Spec.deprecate("ExampleProxy#backtrace","ExampleProxy#location")
  location
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.