Exception: Spec::Example::ExamplePendingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gems/rspec-1.1.12/lib/spec/example/errors.rb

Direct Known Subclasses

NotYetImplementedError

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message=nil)
  super
  @pending_caller = caller[2]
end

Instance Attribute Details

#pending_callerObject (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