Module: Hamlit::Compilers::Filter

Extended by:
Hamlit::Concerns::Included
Included in:
Hamlit::Compiler
Defined in:
lib/hamlit/compilers/filter.rb

Instance Method Summary collapse

Methods included from Hamlit::Concerns::Included

extended

Instance Method Details

#on_haml_filter(name, lines) ⇒ Object



41
42
43
44
# File 'lib/hamlit/compilers/filter.rb', line 41

def on_haml_filter(name, lines)
  ast = compile_filter(name, lines)
  compile(ast)
end