method
new
1.1.12 -
Show latest stable
- Class:
Spec::Story::StepGroup
new(init_defaults=true, &block)public
No documentation available.
# 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