Class Spec::Example::ExampleProxy
In: lib/spec/example/example_proxy.rb
Parent: Object

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

Methods

backtrace  

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

Deprecated - use location()

[Validate]