Class: Rubyang::Xpath::UnionExpr
- Inherits:
-
Object
- Object
- Rubyang::Xpath::UnionExpr
- Defined in:
- lib/rubyang/xpath.rb
Instance Attribute Summary collapse
-
#op1 ⇒ Object
readonly
Returns the value of attribute op1.
-
#op2 ⇒ Object
readonly
Returns the value of attribute op2.
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
Instance Method Summary collapse
-
#initialize(op1, operator = nil, op2 = nil) ⇒ UnionExpr
constructor
A new instance of UnionExpr.
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
#op1 ⇒ Object (readonly)
Returns the value of attribute op1.
366 367 368 |
# File 'lib/rubyang/xpath.rb', line 366 def op1 @op1 end |
#op2 ⇒ Object (readonly)
Returns the value of attribute op2.
366 367 368 |
# File 'lib/rubyang/xpath.rb', line 366 def op2 @op2 end |
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
366 367 368 |
# File 'lib/rubyang/xpath.rb', line 366 def operator @operator end |