mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
16 lines
277 B
Ruby
16 lines
277 B
Ruby
# 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
|