aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/lib/arel/nodes/terminal.rb
blob: d84c453f1afba2a7b09bf4ce5b5e7104e2523df9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
 
                         
              
                                                



                       
                     

                                 
                     


       
# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    class Distinct < Arel::Nodes::NodeExpression
      def hash
        self.class.hash
      end

      def eql?(other)
        self.class == other.class
      end
      alias :== :eql?
    end
  end
end