Class: Dom::NoDoc
Overview
Constant Summary
Constants included from Node
Dom::Node::ABSOLUTE, Dom::Node::LEAF, Dom::Node::NODENAME, Dom::Node::NS_SEP, Dom::Node::NS_SEP_STRING, Dom::Node::RELATIVE
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NoDoc
constructor
A new instance of NoDoc.
Methods included from Node
#[], #add_node, #children, #each_child, #find, #has_children?, #namespace, #parent, #parents, #print_tree, #qualified_name, #resolve, #siblings
Constructor Details
#initialize(name) ⇒ NoDoc
Returns a new instance of NoDoc.
21 22 23 24 |
# File 'lib/dom/no_doc.rb', line 21 def initialize(name) @name = name super() end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/dom/no_doc.rb', line 19 def name @name end |