# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/simpletree.rb, line 83 def printTree indent=0 tree = "\n|%s%s" % [' '* indent, self.to_s] indent += 2 for name, value in attributes tree += "\n|%s%s=\"%s\"" % [' ' * indent, name, value] end for child in childNodes tree += child.printTree(indent) end tree end
Generated with the Darkfish Rdoc Generator 2.