Methods
Public Instance methods
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 179
179: def eof
180: @parser.create_story
181: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 167
167: def event(line)
168: other(line)
169: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 163
163: def given(line)
164: other(line)
165: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 148
148: def one_more_of_the_same(line)
149: other(line)
150: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 175
175: def other(line)
176: @parser.add_story_line(line)
177: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 171
171: def outcome(line)
172: other(line)
173: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 157
157: def scenario(line)
158: @parser.create_story
159: @parser.create_scenario(line)
160: @parser.transition_to(:scenario_state)
161: end
[ show source ]
# File lib/spec/story/runner/story_parser.rb, line 152
152: def story(line)
153: @parser.create_story
154: @parser.add_story_line(line)
155: end