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


                                      






                                 
                     


       
# frozen_string_literal: true
module Arel
  module Nodes
    class Distinct < Arel::Nodes::Node
      def hash
        self.class.hash
      end

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