Class: Rubyang::Xpath::NodeTest::NameTest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NameTest

Returns a new instance of NameTest.



265
266
267
# File 'lib/rubyang/xpath.rb', line 265

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



263
264
265
# File 'lib/rubyang/xpath.rb', line 263

def name
  @name
end