class Haml::CLI

def puts_code(code, color: true)

def puts_code(code, color: true)
  begin
    require 'irb/color'
  rescue LoadError
    color = false
  end
  if color
    puts IRB::Color.colorize_code(code)
  else
    puts code
  end
end