# File lib/cucumber/formatter/usage.rb, line 28 def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background) duration = Time.now - @step_duration if step_match.name.nil? # nil if it's from a scenario outline stepdef_key = StepDefKey.new(step_match.step_definition.regexp_source, step_match.step_definition.file_colon_line) @stepdef_to_match[stepdef_key] << { :keyword => keyword, :step_match => step_match, :status => status, :file_colon_line => @step.file_colon_line, :duration => duration } end super end