method

find

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.

find(type, name)
public

No documentation available.

# File lib/spec/story/step_group.rb, line 27
      def find(type, name)
        @hash_of_lists_of_steps[type].each do |step|
          return step if step.matches?(name)
        end
        return nil
      end