Class: Rubyang::Xpath::OrExpr
- Inherits:
-
Object
- Object
- Rubyang::Xpath::OrExpr
- 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.
Instance Method Summary collapse
-
#initialize(op1, op2 = nil) ⇒ OrExpr
constructor
A new instance of OrExpr.
Constructor Details
#initialize(op1, op2 = nil) ⇒ OrExpr
Returns a new instance of OrExpr.
307 308 309 310 |
# File 'lib/rubyang/xpath.rb', line 307 def initialize op1, op2=nil @op1 = op1 @op2 = op2 end |
Instance Attribute Details
#op1 ⇒ Object (readonly)
Returns the value of attribute op1.
306 307 308 |
# File 'lib/rubyang/xpath.rb', line 306 def op1 @op1 end |
#op2 ⇒ Object (readonly)
Returns the value of attribute op2.
306 307 308 |
# File 'lib/rubyang/xpath.rb', line 306 def op2 @op2 end |