Class: Rubyang::Xpath::AndExpr
- Inherits:
-
Object
- Object
- Rubyang::Xpath::AndExpr
- 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) ⇒ AndExpr
constructor
A new instance of AndExpr.
Constructor Details
#initialize(op1, op2 = nil) ⇒ AndExpr
Returns a new instance of AndExpr.
315 316 317 318 |
# File 'lib/rubyang/xpath.rb', line 315 def initialize op1, op2=nil @op1 = op1 @op2 = op2 end |
Instance Attribute Details
#op1 ⇒ Object (readonly)
Returns the value of attribute op1.
314 315 316 |
# File 'lib/rubyang/xpath.rb', line 314 def op1 @op1 end |
#op2 ⇒ Object (readonly)
Returns the value of attribute op2.
314 315 316 |
# File 'lib/rubyang/xpath.rb', line 314 def op2 @op2 end |