lib/refinements/big_decimals.rb in refinements-7.1.0 vs lib/refinements/big_decimals.rb in refinements-7.2.0
- old
+ new
@@ -1,10 +1,9 @@
# 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