module Debride

Public Instance Methods

process_haml(file) click to toggle source
# File lib/debride_haml.rb, line 5
def process_haml file
  haml = File.read file

  ruby = ::Faml::Engine.new.call(haml)

  begin
    RubyParser.new.process(ruby, file)
  rescue => e
    warn ruby if option[:verbose]
    raise e
  end
end