method
find
RSpec latest stable (1.3.1)
-
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?
find(type, name)
public
Hide source
# 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