aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/nodes/equality.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/arel/nodes/equality.rb b/lib/arel/nodes/equality.rb
index b8d8281434..f29344e580 100644
--- a/lib/arel/nodes/equality.rb
+++ b/lib/arel/nodes/equality.rb
@@ -1,6 +1,9 @@
module Arel
module Nodes
class Equality < Arel::Nodes::Binary
+ def operator; :== end
+ alias :operand1 :left
+ alias :operand2 :right
end
end
end