Class: Rubyang::Xpath::Predicate
- Inherits:
-
Object
- Object
- Rubyang::Xpath::Predicate
- Defined in:
- lib/rubyang/xpath.rb
Instance Attribute Summary collapse
-
#expr ⇒ Object
readonly
Returns the value of attribute expr.
Instance Method Summary collapse
-
#initialize(expr) ⇒ Predicate
constructor
A new instance of Predicate.
Constructor Details
#initialize(expr) ⇒ Predicate
Returns a new instance of Predicate.
300 301 302 |
# File 'lib/rubyang/xpath.rb', line 300 def initialize expr @expr = expr end |
Instance Attribute Details
#expr ⇒ Object (readonly)
Returns the value of attribute expr.
299 300 301 |
# File 'lib/rubyang/xpath.rb', line 299 def expr @expr end |