Class: Arel::Nodes::InfixOperation
- Inherits:
-
Binary
- Object
- Binary
- Arel::Nodes::InfixOperation
- Includes:
- Expressions, Predications
- Defined in:
- lib/squeel/adapters/active_record/3.0/compat.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
Instance Method Summary collapse
-
#initialize(operator, left, right) ⇒ InfixOperation
constructor
A new instance of InfixOperation.
Methods included from Predications
Constructor Details
#initialize(operator, left, right) ⇒ InfixOperation
Returns a new instance of InfixOperation.
56 57 58 59 |
# File 'lib/squeel/adapters/active_record/3.0/compat.rb', line 56 def initialize operator, left, right super(left, right) @operator = operator end |
Instance Attribute Details
#operator ⇒ Object (readonly)
Returns the value of attribute operator.
54 55 56 |
# File 'lib/squeel/adapters/active_record/3.0/compat.rb', line 54 def operator @operator end |