class Tilt::HamlTemplate

def precompiled_preamble(locals)

def precompiled_preamble(locals)
  local_assigns = super
  @engine.instance_eval do
    <<-RUBY
      begin
        extend Haml::Helpers
        _hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, #{options_for_buffer.inspect})
        _erbout = _hamlout.buffer
        __in_erb_template = true
        _haml_locals = locals
        #{local_assigns}
    RUBY
  end
end