class Cucumber::Formatter::Pretty
def doc_string(string)
def doc_string(string) return if @hide_this_step s = %{"""\n#{string}\n"""}.indent(@indent) s = s.split("\n").map{|l| l =~ /^\s+$/ ? '' : l}.join("\n") @io.puts(format_string(s, @current_step.status)) @io.flush end