# File lib/merb-haml/template.rb, line 13
    def self.compile_template(io, name, locals, mod)
      path     = File.expand_path(io.path)
      config   = Mash.new(Merb::Plugins.config[:haml].merge(:filename => path))
      template = ::Haml::Engine.new(io.read, config)
      template.def_method(mod, name, *locals)
      name
    end