Class: Arel::Predicates::LessThanOrEqualTo
- Inherits:
-
Binary
show all
- Defined in:
- lib/arel/algebra/predicates.rb,
lib/arel/engines/sql/predicates.rb,
lib/arel/engines/memory/predicates.rb
Instance Method Summary
collapse
Methods inherited from Binary
#==, #bind, #eval, #to_sql
Methods inherited from Predicate
#and, #not, #or
Instance Method Details
#complement ⇒ Object
155
156
157
|
# File 'lib/arel/algebra/predicates.rb', line 155
def complement
GreaterThan.new(operand1, operand2)
end
|
#operator ⇒ Object
70
|
# File 'lib/arel/engines/memory/predicates.rb', line 70
def operator; :<= end
|
#predicate_sql ⇒ Object
70
|
# File 'lib/arel/engines/sql/predicates.rb', line 70
def predicate_sql; '<=' end
|