Class: Rubyang::Xpath::NodeTest
- Inherits:
-
Object
- Object
- Rubyang::Xpath::NodeTest
- Defined in:
- lib/rubyang/xpath.rb
Defined Under Namespace
Modules: NodeTestType, NodeType Classes: NameTest, ProcessingInstruction
Instance Attribute Summary collapse
-
#node_test ⇒ Object
readonly
Returns the value of attribute node_test.
-
#node_test_type ⇒ Object
readonly
Returns the value of attribute node_test_type.
Instance Method Summary collapse
-
#initialize(node_test_type, node_test) ⇒ NodeTest
constructor
A new instance of NodeTest.
Constructor Details
#initialize(node_test_type, node_test) ⇒ NodeTest
Returns a new instance of NodeTest.
286 287 288 289 |
# File 'lib/rubyang/xpath.rb', line 286 def initialize node_test_type, node_test @node_test_type = node_test_type @node_test = node_test end |
Instance Attribute Details
#node_test ⇒ Object (readonly)
Returns the value of attribute node_test.
284 285 286 |
# File 'lib/rubyang/xpath.rb', line 284 def node_test @node_test end |
#node_test_type ⇒ Object (readonly)
Returns the value of attribute node_test_type.
284 285 286 |
# File 'lib/rubyang/xpath.rb', line 284 def node_test_type @node_test_type end |