# File lib/cucumber/formatter/usage.rb, line 25 def step_name(keyword, step_match, status, source_indent, background) if step_match.step_definition location = @step.file_colon_line return if @locations.index(location) @locations << location description = format_step(keyword, step_match, status, nil) length = (keyword + step_match.format_args).jlength @step_definitions[step_match.step_definition] << [step_match, description, length, location] @all_step_definitions.delete(step_match.step_definition) end end