Class: PersonifyLanguage::Template

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/personify/parser/personify_node_classes.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = {}) ⇒ Object



3
4
5
# File 'lib/personify/parser/personify_node_classes.rb', line 3

def eval(env={})
  elements.map{|e| e.eval(env) }.join("")
end