class Cucumber::Formatter::Pretty
def print_feature_element_name(keyword, name, file_colon_line, source_indent)
def print_feature_element_name(keyword, name, file_colon_line, source_indent) @io.puts if @scenario_indent == 6 names = name.empty? ? [name] : name.split("\n") line = "#{keyword}: #{names[0]}".indent(@scenario_indent) @io.print(line) if @options[:source] line_comment = " # #{file_colon_line}".indent(source_indent) @io.print(format_string(line_comment, :comment)) end @io.puts names[1..-1].each {|s| @io.puts " #{s}"} @io.flush end