Parent

Methods

Class 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

options[R]

Optional hash passed to the example declaration

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.

Public Instance Methods

backtrace() click to toggle source

Deprecated - use location()

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.