Class: REXML::XPathNode
- Inherits:
-
Object
- Object
- REXML::XPathNode
- Defined in:
- lib/rexml/xpath_parser.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#raw_node ⇒ Object
readonly
Returns the value of attribute raw_node.
Instance Method Summary collapse
-
#initialize(node, context = nil) ⇒ XPathNode
constructor
A new instance of XPathNode.
- #position ⇒ Object
Constructor Details
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
964 965 966 |
# File 'lib/rexml/xpath_parser.rb', line 964 def context @context end |
#raw_node ⇒ Object (readonly)
Returns the value of attribute raw_node.
964 965 966 |
# File 'lib/rexml/xpath_parser.rb', line 964 def raw_node @raw_node end |
Instance Method Details
#position ⇒ Object
974 975 976 |
# File 'lib/rexml/xpath_parser.rb', line 974 def position @context[:position] end |