Module: GoogleSpreadsheets::Enhanced::NamespacePreservable::RexmlParser
- Defined in:
- lib/google_spreadsheets/enhanced/namespace_preservable/rexml_parser.rb
Instance Method Summary collapse
Instance Method Details
#hash_from_xml_with_namespace(xml_io) ⇒ Object
7 8 9 10 |
# File 'lib/google_spreadsheets/enhanced/namespace_preservable/rexml_parser.rb', line 7 def hash_from_xml_with_namespace(xml_io) rexml = REXML::Document.new(xml_io) { rexml.root.name => xml_node_to_hash(rexml.root) } end |