Class: OM::XML::DynamicNode::AddressedNode

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pointer, xpath, key) ⇒ AddressedNode

Returns a new instance of AddressedNode.



139
140
141
142
143
# File 'lib/om/xml/dynamic_node.rb', line 139

def initialize (pointer, xpath, key)
  self.xpath = xpath
  self.key = key
  self.pointer = pointer
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



138
139
140
# File 'lib/om/xml/dynamic_node.rb', line 138

def key
  @key
end

#pointerObject

Returns the value of attribute pointer.



138
139
140
# File 'lib/om/xml/dynamic_node.rb', line 138

def pointer
  @pointer
end

#xpathObject

Returns the value of attribute xpath.



138
139
140
# File 'lib/om/xml/dynamic_node.rb', line 138

def xpath
  @xpath
end