# File lib/rd/complex-list-item.rb, line 58 def inspect t = indent2(term.inspect) if term c = children.collect{|i| indent2(i.inspect)}.join("\n") "<#{self.class.name}>" + (term ? "\n" : "") + t.to_s + (c.empty? ? "" : "\n") + c end