Class: Moxml::C14n::Nodes::RootNode
- Inherits:
-
Moxml::C14n::Node
- Object
- Moxml::C14n::Node
- Moxml::C14n::Nodes::RootNode
- Defined in:
- lib/moxml/c14n/nodes/root_node.rb
Overview
Root node representing the document root.
Instance Attribute Summary
Attributes inherited from Moxml::C14n::Node
Instance Method Summary collapse
Methods inherited from Moxml::C14n::Node
#add_child, #in_node_set=, #in_node_set?, #initialize, #text_content
Constructor Details
This class inherits a constructor from Moxml::C14n::Node
Instance Method Details
#children=(new_children) ⇒ Object
16 17 18 |
# File 'lib/moxml/c14n/nodes/root_node.rb', line 16 def children=(new_children) @children = new_children end |
#name ⇒ Object
8 9 10 |
# File 'lib/moxml/c14n/nodes/root_node.rb', line 8 def name "#document" end |
#node_type ⇒ Object
12 13 14 |
# File 'lib/moxml/c14n/nodes/root_node.rb', line 12 def node_type :root end |