Class: Rubyang::Xpath::LocationStep

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(axis, node_test, predicates) ⇒ LocationStep

Returns a new instance of LocationStep.



226
227
228
229
230
# File 'lib/rubyang/xpath.rb', line 226

def initialize axis, node_test, predicates
  @axis = axis
  @node_test = node_test
  @predicates = predicates
end

Instance Attribute Details

#axisObject (readonly)

Returns the value of attribute axis.



224
225
226
# File 'lib/rubyang/xpath.rb', line 224

def axis
  @axis
end

#node_testObject (readonly)

Returns the value of attribute node_test.



224
225
226
# File 'lib/rubyang/xpath.rb', line 224

def node_test
  @node_test
end

#predicatesObject (readonly)

Returns the value of attribute predicates.



224
225
226
# File 'lib/rubyang/xpath.rb', line 224

def predicates
  @predicates
end