Sha256: 807dd9b144a8144126fbe26b40d3218c1441753e52f68478e60d525cbe03a9ab
Contents?: true
Size: 290 Bytes
Versions: 6
Compression:
Stored size: 290 Bytes
Contents
require 'bigdecimal' require 'bigdecimal/util' module CoreExt module BigDecimalWithDefaultFormat #:nodoc: DEFAULT_STRING_FORMAT = 'F' def to_s(format = nil) super(format || DEFAULT_STRING_FORMAT) end end end BigDecimal.prepend(CoreExt::BigDecimalWithDefaultFormat)
Version data entries
6 entries across 6 versions & 1 rubygems