lib/refinements/big_decimals.rb in refinements-10.1.0 vs lib/refinements/big_decimals.rb in refinements-10.1.1
- old
+ new
@@ -4,9 +4,9 @@
module Refinements
# Provides additional enhancements to the BigDecimal primitive.
module BigDecimals
refine BigDecimal do
- def inspect = format("#<BigDecimal:%{id} %{string}>", id: object_id, string: to_s("F"))
+ def inspect = format("#<BigDecimal:%<id>s %<string>s>", id: object_id, string: to_s("F"))
end
end
end