Class: Slippers::ExpressionNode

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/engine/slippers_nodes.rb

Instance Method Summary collapse

Instance Method Details

#eval(object_to_render, template_group = nil) ⇒ Object



130
131
132
# File 'lib/engine/slippers_nodes.rb', line 130

def eval(object_to_render, template_group=nil)
  before.eval(object_to_render, template_group) + expression_to_render.eval(object_to_render, template_group) + space.eval + after.eval(object_to_render, template_group)
end