Exception: Spec::Story::Runner::IllegalStepError
- Inherits:
-
StandardError
- Object
- StandardError
- Spec::Story::Runner::IllegalStepError
- Defined in:
- lib/spec/story/runner/story_parser.rb
Instance Method Summary collapse
-
#initialize(state, event) ⇒ IllegalStepError
constructor
A new instance of IllegalStepError.
Constructor Details
#initialize(state, event) ⇒ IllegalStepError
Returns a new instance of IllegalStepError.
6 7 8 |
# File 'lib/spec/story/runner/story_parser.rb', line 6 def initialize(state, event) super("Illegal attempt to create a #{event} after a #{state}") end |