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



                       
                     

                                 
                     


       
# frozen_string_literal: true

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

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