Sha256: 1ad33635889261cc10ff226e6e695aebd01208bb506eb27378d6d5b99dc4b4c8

Contents?: true

Size: 368 Bytes

Versions: 161

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    class UnaryOperation < Unary
      attr_reader :operator

      def initialize(operator, operand)
        super(operand)
        @operator = operator
      end
    end

    class BitwiseNot < UnaryOperation
      def initialize(operand)
        super(:~, operand)
      end
    end
  end
end

Version data entries

161 entries across 156 versions & 14 rubygems

Version Path
activerecord-8.0.2 lib/arel/nodes/unary_operation.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/arel/nodes/unary_operation.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/arel/nodes/unary_operation.rb
activerecord-8.0.1 lib/arel/nodes/unary_operation.rb
activerecord-8.0.0.1 lib/arel/nodes/unary_operation.rb
activerecord-7.2.2.1 lib/arel/nodes/unary_operation.rb
activerecord-7.1.5.1 lib/arel/nodes/unary_operation.rb
activerecord-7.0.8.7 lib/arel/nodes/unary_operation.rb
activerecord-8.0.0 lib/arel/nodes/unary_operation.rb
activerecord-7.2.2 lib/arel/nodes/unary_operation.rb
activerecord-7.1.5 lib/arel/nodes/unary_operation.rb
activerecord-8.0.0.rc2 lib/arel/nodes/unary_operation.rb
activerecord-7.2.1.2 lib/arel/nodes/unary_operation.rb
activerecord-7.1.4.2 lib/arel/nodes/unary_operation.rb
activerecord-7.0.8.6 lib/arel/nodes/unary_operation.rb
activerecord-6.1.7.10 lib/arel/nodes/unary_operation.rb
activerecord-8.0.0.rc1 lib/arel/nodes/unary_operation.rb
activerecord-6.1.7.9 lib/arel/nodes/unary_operation.rb
activerecord-7.2.1.1 lib/arel/nodes/unary_operation.rb
activerecord-7.1.4.1 lib/arel/nodes/unary_operation.rb