Class: FastHaml::Engine

Inherits:
Temple::Engine
  • Object
show all
Defined in:
lib/fast_haml/engine.rb

Constant Summary collapse

DEFAULT_OPTIONS =
{
    format: :html,
    attr_quote: "'",
}.freeze

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Engine

Returns a new instance of Engine.



18
19
20
# File 'lib/fast_haml/engine.rb', line 18

def initialize(opts = {})
  super(DEFAULT_OPTIONS.merge(opts))
end