class Cucumber::Formatter::Usage

def print_steps(stepdef_key)

def print_steps(stepdef_key)
  @stepdef_to_match[stepdef_key].each do |step|
    @io.print '  '
    @io.print "#{format_string(format('%<duration>.7f', duration: step[:duration]), :skipped)} " unless config.dry_run?
    @io.print format_step(step[:keyword], step[:step_match], step[:status], nil)
    if config.source?
      indent_amount = max_length - (step[:keyword].unpack('U*').length + step[:step_match].format_args.unpack('U*').length)
      line_comment = indent(" # #{step[:location]}", indent_amount)
      @io.print(format_string(line_comment, :comment))
    end
    @io.puts
  end
end