method
new
1.1.4 -
Show latest stable
- Class:
Spec::Story::Runner::StoryRunner
new(scenario_runner, world_creator = World)public
No documentation available.
# File lib/spec/story/runner/story_runner.rb, line 15
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