Sha256: 3115388a3652803e0644f9e8f032e245d6c0c78d77e705511528520de05acde6
Contents?: true
Size: 298 Bytes
Versions: 7
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true require "bigdecimal" module Refinements # Provides additional enhancements to the BigDecimal primitive. module BigDecimals refine BigDecimal do def inspect = format("#<BigDecimal:%<id>s %<string>s>", id: object_id, string: to_s("F")) end end end
Version data entries
7 entries across 7 versions & 1 rubygems