aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/terminal.rb
blob: 6f60fe006fdc9ea51c2ee89367f07cbb51a75b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
    end
  end
end