class Haml::Plugin

def compile(template)

def compile(template)
  options = Haml::Template.options.dup
  options[:mime_type] = template.mime_type if template.respond_to? :mime_type
  options[:filename] = template.identifier
  Haml::Engine.new(template.source, options).send(:precompiled_with_ambles, [])
end