diff --git a/CHANGELOG.md b/CHANGELOG.md index 91b0c61f3b..18e7fe3149 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Fix symbol for XPF (CFP Franc) currency to use "₣" - Fix name for ANG currency - Change disambiguate symbol for ARS from historical to international format +- Update documentation of disambiguate feature ## 7.0.2 diff --git a/lib/money/money/formatter.rb b/lib/money/money/formatter.rb index c21ac93f12..505a147bbf 100644 --- a/lib/money/money/formatter.rb +++ b/lib/money/money/formatter.rb @@ -149,7 +149,7 @@ class Formatter # @example # Money.new(10000, "USD").format(disambiguate: false) #=> "$100.00" # Money.new(10000, "CAD").format(disambiguate: false) #=> "$100.00" - # Money.new(10000, "USD").format(disambiguate: true) #=> "$100.00" + # Money.new(10000, "USD").format(disambiguate: true) #=> "US$100.00" # Money.new(10000, "CAD").format(disambiguate: true) #=> "C$100.00" # # @option rules [Boolean] :translate (true) `true` Checks for custom diff --git a/sig/lib/money/money/formatter.rbs b/sig/lib/money/money/formatter.rbs index f0badffaef..645e7455d8 100644 --- a/sig/lib/money/money/formatter.rbs +++ b/sig/lib/money/money/formatter.rbs @@ -129,7 +129,7 @@ class Money # @example # Money.new(10000, "USD").format(disambiguate: false) #=> "$100.00" # Money.new(10000, "CAD").format(disambiguate: false) #=> "$100.00" - # Money.new(10000, "USD").format(disambiguate: true) #=> "$100.00" + # Money.new(10000, "USD").format(disambiguate: true) #=> "US$100.00" # Money.new(10000, "CAD").format(disambiguate: true) #=> "C$100.00" # # @option rules [Boolean] :translate (true) `true` Checks for custom