Actions
Bug #8487
closedFix documentation for Hash(nil)
Description
=begin
(({Kernel#Hash(nil)})) returns (({{}})) as said in the documentation: (("Returns an empty Hash when arg is nil or [].")) The example however shows a return value of (({nil})).
=end
Files
Updated by ayumin (Ayumu AIZAWA) almost 11 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41066.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[ruby-core:55299] [Bug #8487]
Actions
Like0
Like0