Class: Rubyang::Xpath::UnionExpr

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(op1, operator = nil, op2 = nil) ⇒ UnionExpr

Returns a new instance of UnionExpr.



367
368
369
370
371
# File 'lib/rubyang/xpath.rb', line 367

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

Instance Attribute Details

#op1Object (readonly)

Returns the value of attribute op1.



366
367
368
# File 'lib/rubyang/xpath.rb', line 366

def op1
  @op1
end

#op2Object (readonly)

Returns the value of attribute op2.



366
367
368
# File 'lib/rubyang/xpath.rb', line 366

def op2
  @op2
end

#operatorObject (readonly)

Returns the value of attribute operator.



366
367
368
# File 'lib/rubyang/xpath.rb', line 366

def operator
  @operator
end