aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/true.rb
blob: bb9d8c1414cd5584e1a83ef3fc77d6a63b19b61b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true
module Arel
  module Nodes
    class True < Arel::Nodes::Node
      def hash
        self.class.hash
      end

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