Sha256: ef387678bc688986d7c03fbd225becc2883893ca165904d4b212dbc54500094f

Contents?: true

Size: 267 Bytes

Versions: 114

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    class Equality < Arel::Nodes::Binary
      include FetchAttribute

      def equality?; true; end

      def invert
        Arel::Nodes::NotEqual.new(left, right)
      end
    end
  end
end

Version data entries

114 entries across 109 versions & 9 rubygems

Version Path
activerecord-8.0.0 lib/arel/nodes/equality.rb
activerecord-7.2.2 lib/arel/nodes/equality.rb
activerecord-7.1.5 lib/arel/nodes/equality.rb
activerecord-8.0.0.rc2 lib/arel/nodes/equality.rb
activerecord-7.2.1.2 lib/arel/nodes/equality.rb
activerecord-7.1.4.2 lib/arel/nodes/equality.rb
activerecord-7.0.8.6 lib/arel/nodes/equality.rb
activerecord-6.1.7.10 lib/arel/nodes/equality.rb
activerecord-8.0.0.rc1 lib/arel/nodes/equality.rb
activerecord-6.1.7.9 lib/arel/nodes/equality.rb
activerecord-7.2.1.1 lib/arel/nodes/equality.rb
activerecord-7.1.4.1 lib/arel/nodes/equality.rb
activerecord-7.0.8.5 lib/arel/nodes/equality.rb
activerecord-8.0.0.beta1 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha9 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha8 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha7 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha4 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha3 lib/arel/nodes/equality.rb
omg-activerecord-8.0.0.alpha2 lib/arel/nodes/equality.rb