Class: Rubyang::Xpath::EqualityExpr
- Inherits:
-
Object
- Object
- Rubyang::Xpath::EqualityExpr
- 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) ⇒ EqualityExpr
constructor
A new instance of EqualityExpr.
Constructor Details
#initialize(op1, operator = nil, op2 = nil) ⇒ EqualityExpr
Returns a new instance of EqualityExpr.
323 324 325 326 327 |
# File 'lib/rubyang/xpath.rb', line 323 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.
322 323 324 |
# File 'lib/rubyang/xpath.rb', line 322 def op1 @op1 end |
#op2 ⇒ Object (readonly)
Returns the value of attribute op2.
322 323 324 |
# File 'lib/rubyang/xpath.rb', line 322 def op2 @op2 end |
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
322 323 324 |
# File 'lib/rubyang/xpath.rb', line 322 def operator @operator end |