# 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