method
new
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Story::StepGroup
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
new(init_defaults=true, &block)
public
Hide source
# File lib/spec/story/step_group.rb, line 19 def initialize(init_defaults=true, &block) @hash_of_lists_of_steps = Hash.new {|h, k| h[k] = []} if init_defaults self.class.steps.add_to(self) end instance_eval(&block) if block end