Class: Frank::HamlTemplate

Inherits:
Tilt::HamlTemplate
  • Object
show all
Defined in:
lib/frank/tilt_setup.rb

Overview

Haml template implementation. See: haml.hamptoncatlin.com/

Instance Method Summary collapse

Instance Method Details

#prepareObject



30
31
32
33
# File 'lib/frank/tilt_setup.rb', line 30

def prepare
  options = @options.merge(:filename => eval_file, :line => line)
  @engine = ::Haml::Engine.new(data, options.merge(Frank.haml_options || {}))
end