Class: Rubyang::Xpath::LocationStep
- Inherits:
-
Object
- Object
- Rubyang::Xpath::LocationStep
- Defined in:
- lib/rubyang/xpath.rb
Instance Attribute Summary collapse
-
#axis ⇒ Object
readonly
Returns the value of attribute axis.
-
#node_test ⇒ Object
readonly
Returns the value of attribute node_test.
-
#predicates ⇒ Object
readonly
Returns the value of attribute predicates.
Instance Method Summary collapse
-
#initialize(axis, node_test, predicates) ⇒ LocationStep
constructor
A new instance of LocationStep.
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
#axis ⇒ Object (readonly)
Returns the value of attribute axis.
224 225 226 |
# File 'lib/rubyang/xpath.rb', line 224 def axis @axis end |
#node_test ⇒ Object (readonly)
Returns the value of attribute node_test.
224 225 226 |
# File 'lib/rubyang/xpath.rb', line 224 def node_test @node_test end |
#predicates ⇒ Object (readonly)
Returns the value of attribute predicates.
224 225 226 |
# File 'lib/rubyang/xpath.rb', line 224 def predicates @predicates end |