Sha256: 2b3d4b3d5a326e5da7694f0943bb71480a94010a8ef05769ca63f2e5ded12d72

Contents?: true

Size: 334 Bytes

Versions: 191

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module PostgreSQL
      module OID # :nodoc:
        class Decimal < Type::Decimal # :nodoc:
          def infinity(options = {})
            BigDecimal("Infinity") * (options[:negative] ? -1 : 1)
          end
        end
      end
    end
  end
end

Version data entries

191 entries across 186 versions & 16 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-8.0.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-8.0.0.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.2.2.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.1.5.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.0.8.7 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-8.0.0 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.2.2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.1.5 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-8.0.0.rc2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.2.1.2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.1.4.2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.0.8.6 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-6.1.7.10 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-8.0.0.rc1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-6.1.7.9 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.2.1.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.1.4.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-7.0.8.5 lib/active_record/connection_adapters/postgresql/oid/decimal.rb