module Cucumber::Formatter::Console

def puts(*messages)

activate this feature
define @delayed_messages = [] in your Formatter if you want to
def puts(*messages)
  if @delayed_messages
    @delayed_messages += messages
  else
    if @io
      @io.puts
      messages.each do |message|
        @io.puts(format_string(message, :tag))
      end
      @io.flush
    end
  end
end