Class: FastHaml::Tilt

Inherits:
Tilt::Template
  • Object
show all
Defined in:
lib/fast_haml/tilt.rb

Instance Method Summary collapse

Instance Method Details

#precompiled_template(locals = {}) ⇒ Object



10
11
12
# File 'lib/fast_haml/tilt.rb', line 10

def precompiled_template(locals = {})
  @code
end

#prepareObject



6
7
8
# File 'lib/fast_haml/tilt.rb', line 6

def prepare
  @code = Engine.new(options).call(data)
end