Class: Canon::Xml::Nodes::RootNode
- Inherits:
-
Canon::Xml::Node
- Object
- Canon::Xml::Node
- Canon::Xml::Nodes::RootNode
- Defined in:
- lib/canon/xml/nodes/root_node.rb
Overview
Root node representing the document root
Instance Attribute Summary
Attributes inherited from Canon::Xml::Node
Instance Method Summary collapse
Methods inherited from Canon::Xml::Node
#add_child, #in_node_set=, #in_node_set?, #initialize
Constructor Details
This class inherits a constructor from Canon::Xml::Node
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/canon/xml/nodes/root_node.rb', line 10 def name "#document" end |
#node_type ⇒ Object
14 15 16 |
# File 'lib/canon/xml/nodes/root_node.rb', line 14 def node_type :root end |