class Haml::CLI
def compile(file)
def compile(file) code = generate_code(file) if options[:check] if error = validate_ruby(code, file) abort error.message.split("\n").first end puts "Syntax OK" return end puts_code(code, color: options[:color]) end