aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/memory/predicates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/engines/memory/predicates.rb')
-rw-r--r--lib/arel/engines/memory/predicates.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/arel/engines/memory/predicates.rb b/lib/arel/engines/memory/predicates.rb
index 3522ea3ffa..bbf39ba794 100644
--- a/lib/arel/engines/memory/predicates.rb
+++ b/lib/arel/engines/memory/predicates.rb
@@ -1,13 +1,4 @@
module Arel
- class Predicate
- def or(other_predicate)
- Or.new(self, other_predicate)
- end
-
- def and(other_predicate)
- And.new(self, other_predicate)
- end
- end
class Binary < Predicate
def eval(row)
@@ -30,11 +21,6 @@ module Arel
end
class Equality < Binary
- def ==(other)
- Equality === other and
- ((operand1 == other.operand1 and operand2 == other.operand2) or
- (operand1 == other.operand2 and operand2 == other.operand1))
- end
end
class GreaterThanOrEqualTo < Binary