Method: Glyph::ParameterNode#evaluate
- Defined in:
- lib/glyph/syntax_node.rb
#evaluate(context, options = {:params => false}) ⇒ String
Returns the evaluated child nodes.
198 199 200 201 202 |
# File 'lib/glyph/syntax_node.rb', line 198 def evaluate(context, ={:params => false}) self[:value] = "" self.children.each {|c| self[:value] << c.evaluate(context) } if [:params] self[:value] end |