Class: XMLScan::XPath::DOM::RootNodeAdapter

Inherits:
ParentNodeAdapter show all
Defined in:
lib/xml/dom2/xpath.rb

Instance Attribute Summary

Attributes inherited from AbstractNodeAdapter

#node

Instance Method Summary collapse

Methods inherited from ParentNodeAdapter

#string_value

Methods inherited from AbstractNodeAdapter

#children, #each_following_siblings, #each_preceding_siblings, #lang, #parent, #wrap

Instance Method Details

#indexObject



131
132
133
# File 'lib/xml/dom2/xpath.rb', line 131

def index
  0
end

#node_typeObject



125
126
127
# File 'lib/xml/dom2/xpath.rb', line 125

def node_type
  :root
end