Exception: Spec::Story::Runner::IllegalStepError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gems/rspec-1.1.12/lib/spec/story/runner/story_parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(state, event) ⇒ IllegalStepError

Returns a new instance of IllegalStepError.



6
7
8
# File 'lib/gems/rspec-1.1.12/lib/spec/story/runner/story_parser.rb', line 6

def initialize(state, event)
  super("Illegal attempt to create a #{event} after a #{state}")
end