Class: ROXML::XML::Document
- Includes:
- NamespacedSearch
- Defined in:
- lib/roxml/xml/parsers/rexml.rb,
lib/roxml/xml/parsers/libxml.rb
Instance Method Summary collapse
Methods included from NamespacedSearch
Instance Method Details
#root=(node) ⇒ Object
67 68 69 70 |
# File 'lib/roxml/xml/parsers/rexml.rb', line 67 def root=(node) raise ArgumentError, "Root is already defined" if root add(node) end |