class Cucumber::Formatter::Usage
def print_unused_step_definitions
def print_unused_step_definitions if @all_step_definitions.any? max_length = @all_step_definitions.map{|step_definition| step_definition.text_length}.max @io.puts format_string("(::) UNUSED (::)", :failed) @all_step_definitions.each do |step_definition| @io.print format_string(step_definition.regexp.inspect, :failed) @io.puts format_string(" # #{step_definition.file_colon_line}".indent(max_length - step_definition.text_length), :comment) end end end