Method: Chef::Formatters::Outputter#puts

Defined in:
lib/chef/formatters/base.rb

#puts(string, *colors) ⇒ Object



89
90
91
92
93
94
95
# File 'lib/chef/formatters/base.rb', line 89

def puts(string, *colors)
  if Chef::Config[:color]
    @out.puts highline.color(string, *colors)
  else
    @out.puts string
  end
end