Displaying 1 result from an estimated 1 matches for "after_children".
2006 Feb 24
2
how to better generalize a tree?
...before = options[:before] ? options[:before] : ''''
after = options[:after] ? options[:after] : ''''
before_children = options[:before_children] ? options[:before_children] : ''''
after_children = options[:after_children] ? options[:after_children] : ''''
output = ''''
for child in children
output += before
output += child.body
if !child.children.empty?
output += before_children
output += child.print_children op...