Class: Rubyang::Xpath::Axis

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



248
249
250
# File 'lib/rubyang/xpath.rb', line 248

def name
  @name
end