Class: Rubyang::Xpath::FilterExpr

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(op1, op2 = nil) ⇒ FilterExpr

Returns a new instance of FilterExpr.



385
386
387
388
# File 'lib/rubyang/xpath.rb', line 385

def initialize op1, op2=nil
  @op1 = op1
  @op2 = op2
end

Instance Attribute Details

#op1Object (readonly)

Returns the value of attribute op1.



384
385
386
# File 'lib/rubyang/xpath.rb', line 384

def op1
  @op1
end

#op2Object (readonly)

Returns the value of attribute op2.



384
385
386
# File 'lib/rubyang/xpath.rb', line 384

def op2
  @op2
end