[DOC] Fix output examples containing old Hash#inspect format

The inspect format was intentionally changed as an outcome of
[Bug #20433] [ruby-core:118668], but some documentation update
was missing, as [Bug #20962] pointed out. Update some output
examples that clearly use Hash#inspect.
This commit is contained in:
tomoya ishida 2024-12-19 02:08:15 +09:00 committed by GitHub
parent 528ec70604
commit 477c505ac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
Notes: git 2024-12-18 17:09:11 +00:00
Merged: https://github.com/ruby/ruby/pull/12384

Merged-By: XrXr
4 changed files with 4 additions and 4 deletions

View file

@ -5084,7 +5084,7 @@ rb_ary_concat(VALUE x, VALUE y)
* When string argument +string_separator+ is given,
* equivalent to <tt>self.join(string_separator)</tt>:
*
* [0, [0, 1], {foo: 0}] * ', ' # => "0, 0, 1, {:foo=>0}"
* [0, [0, 1], {foo: 0}] * ', ' # => "0, 0, 1, {foo: 0}"
*
*/