From 1908b6a7ccc5131fd87c13ba34e7b775146a551b Mon Sep 17 00:00:00 2001 From: Thomas Weymuth Date: Sun, 24 May 2026 19:32:01 +0200 Subject: [PATCH 1/2] Update documentation of USD disambiguation --- lib/money/money/formatter.rb | 2 +- sig/lib/money/money/formatter.rbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From bced88956ace88c97e020e67f512d161a0e9b2f1 Mon Sep 17 00:00:00 2001 From: Thomas Weymuth Date: Sun, 24 May 2026 19:35:41 +0200 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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