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

Methods

eof   event   given   one_more_of_the_same   other   outcome   scenario   story  

Public Instance methods

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 187
187:           def eof
188:             @parser.create_story
189:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 175
175:           def event(line)
176:             other(line)
177:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 171
171:           def given(line)
172:             other(line)
173:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 156
156:           def one_more_of_the_same(line)
157:             other(line)
158:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 183
183:           def other(line)
184:             @parser.add_story_line(line)
185:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 179
179:           def outcome(line)
180:             other(line)
181:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 165
165:           def scenario(line)
166:             @parser.create_story
167:             @parser.create_scenario(line)
168:             @parser.transition_to(:scenario_state)
169:           end

[Source]

     # File vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb, line 160
160:           def story(line)
161:             @parser.create_story
162:             @parser.add_story_line(line)
163:           end

[Validate]