Method: StringDoc::Node#to_s
- Defined in:
- lib/string_doc/node.rb
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the node as an xml string, without transforming.
310 311 312 |
# File 'lib/string_doc/node.rb', line 310 def to_s string_nodes.flatten.map(&:to_s).join end |