Class: Himl::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/himl/parser.rb

Defined Under Namespace

Classes: Document

Instance Method Summary collapse

Instance Method Details

#call(template) ⇒ Object



160
161
162
# File 'lib/himl/parser.rb', line 160

def call(template)
  parse_template template
end

#to_erbObject



164
165
166
# File 'lib/himl/parser.rb', line 164

def to_erb
  @document.erb_template
end