Class: Rubyang::Xpath::NodeTest

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyang/xpath.rb

Defined Under Namespace

Modules: NodeTestType, NodeType Classes: NameTest, ProcessingInstruction

Instance Attribute Summary collapse

Instance Method Summary collapse

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_testObject (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_typeObject (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