Class: Rubyang::Xpath::NodeTest::NameTest
- Inherits:
-
Object
- Object
- Rubyang::Xpath::NodeTest::NameTest
- 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) ⇒ NameTest
constructor
A new instance of NameTest.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
263 264 265 |
# File 'lib/rubyang/xpath.rb', line 263 def name @name end |