Sha256: 51e80999e3ce9c5a084ac91e9f031c0ac3584467ab1a3abfbdc74f633270f5bf
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
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
5 entries across 5 versions & 1 rubygems