Class Spec::Story::Runner::StoryParser::WhenState
In: vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb
Parent: Spec::Story::Runner::StoryParser::State

Methods

Public Instance methods

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 221
221:           def event(line)
222:             @parser.create_when(remove_tag_from(:when ,line))
223:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 217
217:           def one_more_of_the_same(line)
218:             @parser.create_when(remove_tag_from(:and ,line))
219:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 225
225:           def other(line)
226:             @parser.add_to_last(line)
227:           end

[Validate]