class Cucumber::Formatter::Pretty

def print_keyword_name(keyword, name, indent_amount, location = nil)

def print_keyword_name(keyword, name, indent_amount, location = nil)
  line = "#{keyword}:"
  line += " #{name}"
  @io.print(indent(line, indent_amount))
  if location && options[:source]
    line_comment = indent(format_string("# #{location}", :comment), @source_indent - line.length - indent_amount)
    @io.print(line_comment)
  end
  @io.puts
end