Class: Arel::Predicates::LessThan

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



241
242
243
# File 'lib/arel/algebra/predicates.rb', line 241

def complement
  GreaterThanOrEqualTo.new(operand1, operand2)
end

#operatorObject



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

def operator; :< end

#predicate_sqlObject



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

def predicate_sql; '<' end