Class: Rubyang::Xpath::Axis
- Inherits:
-
Object
- Object
- Rubyang::Xpath::Axis
- Defined in:
- lib/rubyang/xpath.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Axis
constructor
A new instance of Axis.
Constructor Details
#initialize(name) ⇒ Axis
Returns a new instance of Axis.
250 251 252 |
# File 'lib/rubyang/xpath.rb', line 250 def initialize name @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
248 249 250 |
# File 'lib/rubyang/xpath.rb', line 248 def name @name end |