Class: Arel::Predicates::GreaterThanOrEqualTo

Inherits:
Binary show all
Defined in:
lib/arel/algebra/predicates.rb

Instance Attribute Summary

Attributes inherited from Binary

#operand2

Attributes inherited from Unary

#operand

Instance Method Summary collapse

Methods inherited from Binary

#==, #bind, #eval, #initialize, #to_sql

Methods inherited from Unary

#==, #bind, #eval, #initialize, #to_sql

Methods inherited from Predicate

#and, #not, #or

Constructor Details

This class inherits a constructor from Arel::Predicates::Binary

Instance Method Details

#complementObject



211
212
213
# File 'lib/arel/algebra/predicates.rb', line 211

def complement
  LessThan.new(operand1, operand2)
end

#operatorObject



215
# File 'lib/arel/algebra/predicates.rb', line 215

def operator; :>= end

#predicate_sqlObject



217
# File 'lib/arel/algebra/predicates.rb', line 217

def predicate_sql; '>=' end