Method: HTML::Node#to_s
- Defined in:
- lib/html/node.rb
#to_s ⇒ Object
Return a textual representation of the node.
79 80 81 82 83 |
# File 'lib/html/node.rb', line 79 def to_s s = "" @children.each { |child| s << child.to_s } s end |