Sha256: 21a344bef66a52a4c1012dd46b31197ca9a18858c74296db8820c681f3b41de0
Contents?: true
Size: 307 Bytes
Versions: 102
Compression:
Stored size: 307 Bytes
Contents
module ActiveRecord module ConnectionAdapters module PostgreSQL module OID # :nodoc: class Decimal < Type::Decimal # :nodoc: def infinity(options = {}) BigDecimal.new("Infinity") * (options[:negative] ? -1 : 1) end end end end end end
Version data entries
102 entries across 100 versions & 10 rubygems