Sha256: a243793b03eb22ca7e488286f2bd7ec32b1459c540b25607987776b1ef8462c8

Contents?: true

Size: 273 Bytes

Versions: 153

Compression:

Stored size: 273 Bytes

Contents

# 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

Version data entries

153 entries across 148 versions & 12 rubygems

Version Path
activerecord-6.1.4.4 lib/arel/nodes/true.rb
activerecord-6.0.4.4 lib/arel/nodes/true.rb
activerecord-7.0.0.rc3 lib/arel/nodes/true.rb
activerecord-6.1.4.3 lib/arel/nodes/true.rb
activerecord-6.0.4.3 lib/arel/nodes/true.rb
activerecord-6.0.4.2 lib/arel/nodes/true.rb
activerecord-6.1.4.2 lib/arel/nodes/true.rb
activerecord-7.0.0.rc2 lib/arel/nodes/true.rb
activerecord-7.0.0.rc1 lib/arel/nodes/true.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activerecord-6.1.4.1/lib/arel/nodes/true.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activerecord-6.1.4.1/lib/arel/nodes/true.rb
activerecord-7.0.0.alpha2 lib/arel/nodes/true.rb
activerecord-7.0.0.alpha1 lib/arel/nodes/true.rb
activerecord-6.1.4.1 lib/arel/nodes/true.rb
activerecord-6.0.4.1 lib/arel/nodes/true.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.4/lib/arel/nodes/true.rb
activerecord-6.1.4 lib/arel/nodes/true.rb
activerecord-6.0.4 lib/arel/nodes/true.rb
activerecord-6.0.3.7 lib/arel/nodes/true.rb
activerecord-6.1.3.2 lib/arel/nodes/true.rb