class Thor::Shell::Basic

def say(message="", color=nil, force_new_line=(message.to_s !~ /( |\t)$/))


say("I know you knew that.")
==== Example

are passed straight to puts (behavior got from Highline).
or tab character, a new line is not appended (print + flush). Otherwise
Say (print) something to the user. If the sentence ends with a whitespace
def say(message="", color=nil, force_new_line=(message.to_s !~ /( |\t)$/))
  message  = message.to_s
  message  = set_color(message, color) if color
  if force_new_line
    $stdout.puts(message)
  else
    $stdout.print(message)
    $stdout.flush
  end
end