class HTree::TemplateCompiler::TemplateNode
Attributes
children[R]
Public Class Methods
new(*children)
click to toggle source
# File htree/template.rb, line 939 def initialize(*children) @children = children.flatten.compact end
Public Instance Methods
output(out, context)
click to toggle source
# File htree/template.rb, line 944 def output(out, context) @children.each {|c| if c.respond_to? :call c.call(out, context) else c.output(out, context) end } end