method
states
RSpec latest stable (1.3.1)
-
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?
states()
public
Hide source
# File lib/spec/story/runner/story_parser.rb, line 85 def states @states ||= { :starting_state => StartingState.new(self), :story_state => StoryState.new(self), :scenario_state => ScenarioState.new(self), :given_state => GivenState.new(self), :when_state => WhenState.new(self), :then_state => ThenState.new(self) } end