From 08832c4bc11074c5d70455f2910627d25d5ccca8 Mon Sep 17 00:00:00 2001 From: Enrico Grillo Date: Wed, 8 Jan 2025 06:10:24 -0500 Subject: [PATCH] FIx doc comment error in formatter.rb The example for the documentation of the `:html_wrap_symbol` option showed the Ruby code from the previous option, `:disambiguate`, with the correct resulting string. Fixed to show the correct option being used in the example. --- lib/money/money/formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/money/money/formatter.rb b/lib/money/money/formatter.rb index bff2b8010a..d115d57cca 100644 --- a/lib/money/money/formatter.rb +++ b/lib/money/money/formatter.rb @@ -185,7 +185,7 @@ class Formatter # in a html tag. # # @example - # Money.new(10000, "USD").format(disambiguate: false) + # Money.new(10000, "USD").format(html_wrap_symbol: true) # #=> "$100.00 # # @option rules [Symbol] :symbol_position (:before) `:before` if the currency