# File lib/cucumber/formatter/console.rb, line 29 def format_string(o, status) fmt = format_for(status) o.to_s.split("\n").map do |line| if Proc === fmt fmt.call(line) else fmt % line end end.join("\n") end