Class: DBus::IntrospectXMLParser::AbstractXML::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/dbus/xml.rb

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ Node

Returns a new instance of Node.



38
39
40
# File 'lib/dbus/xml.rb', line 38

def initialize(node)
  @node = node
end

Instance Method Details

#[](key) ⇒ Object

required methods returns node attribute value



44
# File 'lib/dbus/xml.rb', line 44

def [](key); end

#each(xpath) ⇒ Object

yields child nodes which match xpath of type AbstractXML::Node



47
# File 'lib/dbus/xml.rb', line 47

def each(xpath); end