Class: Spec::Story::Runner::StoryParser::ScenarioState
- Defined in:
- lib/gems/rspec-1.1.12/lib/spec/story/runner/story_parser.rb
Instance Method Summary collapse
Methods inherited from State
#comment, #eof, #event, #given, #given_scenario, #initialize, #other, #outcome, #remove_tag_from, #story
Constructor Details
This class inherits a constructor from Spec::Story::Runner::StoryParser::State
Instance Method Details
#one_more_of_the_same(line) ⇒ Object
193 194 195 |
# File 'lib/gems/rspec-1.1.12/lib/spec/story/runner/story_parser.rb', line 193 def one_more_of_the_same(line) raise IllegalStepError.new("Scenario", "And") end |
#scenario(line) ⇒ Object
197 198 199 |
# File 'lib/gems/rspec-1.1.12/lib/spec/story/runner/story_parser.rb', line 197 def scenario(line) @parser.create_scenario(line) end |