method

new

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Story::StepGroup
new(init_defaults=true, &block) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.