method
find

1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Story::StepMother
- 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, unstripped_name)
public
Hide source
# File lib/spec/story/step_mother.rb, line 16 def find(type, unstripped_name) name = unstripped_name.strip if @steps.find(type, name).nil? @steps.add(type, Step.new(name) do raise Spec::Example::ExamplePendingError.new("Unimplemented step: #{name}") end ) end @steps.find(type, name) end