method
create_story
1.1.12 -
Show latest stable
- Class:
Spec::Story::Runner::StoryParser
create_story()public
No documentation available.
# File lib/spec/story/runner/story_parser.rb, line 50
def create_story()
unless @current_story_lines.empty?
@story_mediator.create_story(@current_story_lines[0].gsub("Story: ",""), @current_story_lines[1..-1].join("\n"))
@current_story_lines.clear
end
end