Class: Rubyang::Xpath::Predicate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#exprObject (readonly)

Returns the value of attribute expr.



299
300
301
# File 'lib/rubyang/xpath.rb', line 299

def expr
  @expr
end