method
new
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Story::Runner::StoryRunner
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
new(scenario_runner, world_creator = World)
public
Hide source
# File lib/spec/story/runner/story_runner.rb, line 19 def initialize(scenario_runner, world_creator = World) StoryRunner.current_story_runner = self @scenario_runner = scenario_runner @world_creator = world_creator @stories = [] @scenarios_by_story = {} @scenarios = [] @listeners = [] end