diff options
Diffstat (limited to 'activerecord/lib/arel/nodes/equality.rb')
-rw-r--r-- | activerecord/lib/arel/nodes/equality.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/lib/arel/nodes/equality.rb b/activerecord/lib/arel/nodes/equality.rb new file mode 100644 index 0000000000..2aa85a977e --- /dev/null +++ b/activerecord/lib/arel/nodes/equality.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Arel # :nodoc: all + module Nodes + class Equality < Arel::Nodes::Binary + def operator; :== end + alias :operand1 :left + alias :operand2 :right + end + end +end |