method

new

rspec latest stable - Class: Spec::Story::StepGroup

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

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