class Cucumber::Formatter::Usage
def print_step_definition(stepdef_key)
def print_step_definition(stepdef_key) @io.print "#{format_string(format('%<duration>.7f', duration: stepdef_key.mean_duration), :skipped)} " unless config.dry_run? @io.print format_string(stepdef_key.regexp_source, stepdef_key.status) if config.source? indent_amount = max_length - stepdef_key.regexp_source.unpack('U*').length line_comment = indent(" # #{stepdef_key.location}", indent_amount) @io.print(format_string(line_comment, :comment)) end @io.puts end