Sha256: bc2a0c9e0236719bfb0a5b43ec3884473965eae1dce32db47dfd04fdb3d187ba
Contents?: true
Size: 279 Bytes
Versions: 11
Compression:
Stored size: 279 Bytes
Contents
# frozen_string_literal: true require "bigdecimal" module Refinements # Refinements for big decimals. module BigDecimals refine BigDecimal do def inspect format "#<BigDecimal:%{id} %{string}>", id: object_id, string: to_s("F") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems