aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/nodes/false.rb
blob: 1e5bf04be5e5475c6410f03d9b6b74170e2e7273 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

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

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