class Cucumber::Formatter::Usage
def print_step_definition(stepdef_key)
def print_step_definition(stepdef_key) @io.print format_string(sprintf("%.7f", stepdef_key.mean_duration), :skipped) + " " unless @options[:dry_run] @io.print format_string(stepdef_key.regexp_source, stepdef_key.status) if @options[:source] indent = max_length - stepdef_key.regexp_source.unpack('U*').length line_comment = " # #{stepdef_key.file_colon_line}".indent(indent) @io.print(format_string(line_comment, :comment)) end @io.puts end