Class Spec::Story::Runner::StoryParser::GivenState
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 207
207:           def given(line)
208:             @parser.create_given(remove_tag_from(:given, line))
209:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 203
203:           def one_more_of_the_same(line)
204:             @parser.create_given(remove_tag_from(:and, line))
205:           end

[Source]

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

[Validate]