class Cucumber::Formatter::Steps
def collect_steps(step_mother)
def collect_steps(step_mother) step_mother.step_definitions.inject({}) do |step_definitions, step_definition| step_definitions[step_definition.file] ||= [] step_definitions[step_definition.file] << [ step_definition.file_colon_line, step_definition.regexp_source ] step_definitions end end