method
create_story
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Story::Runner::StoryParser
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
create_story()
public
Hide source
# File lib/spec/story/runner/story_parser.rb, line 49 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