Exception: Spec::Example::ExamplePendingError
- Defined in:
- lib/gems/rspec-1.1.12/lib/spec/example/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#pending_caller ⇒ Object
readonly
Returns the value of attribute pending_caller.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ExamplePendingError
constructor
A new instance of ExamplePendingError.
Constructor Details
#initialize(message = nil) ⇒ ExamplePendingError
Returns a new instance of ExamplePendingError.
6 7 8 9 |
# File 'lib/gems/rspec-1.1.12/lib/spec/example/errors.rb', line 6 def initialize(=nil) super @pending_caller = caller[2] end |
Instance Attribute Details
#pending_caller ⇒ Object (readonly)
Returns the value of attribute pending_caller.
4 5 6 |
# File 'lib/gems/rspec-1.1.12/lib/spec/example/errors.rb', line 4 def pending_caller @pending_caller end |