Class: OM::XML::DynamicNode::AddressedNode
- Inherits:
-
Object
- Object
- OM::XML::DynamicNode::AddressedNode
- Defined in:
- lib/om/xml/dynamic_node.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#pointer ⇒ Object
Returns the value of attribute pointer.
-
#xpath ⇒ Object
Returns the value of attribute xpath.
Instance Method Summary collapse
-
#initialize(pointer, xpath, key) ⇒ AddressedNode
constructor
A new instance of AddressedNode.
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
#key ⇒ Object
Returns the value of attribute key.
138 139 140 |
# File 'lib/om/xml/dynamic_node.rb', line 138 def key @key end |
#pointer ⇒ Object
Returns the value of attribute pointer.
138 139 140 |
# File 'lib/om/xml/dynamic_node.rb', line 138 def pointer @pointer end |
#xpath ⇒ Object
Returns the value of attribute xpath.
138 139 140 |
# File 'lib/om/xml/dynamic_node.rb', line 138 def xpath @xpath end |