Bug #8487

Fix documentation for Hash(nil)

Added by Stefan Schüßler 11 months ago. Updated 11 months ago.

[ruby-core:55299]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
Category:-
Target version:-
ruby -v:ruby 2.0.0p195 Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

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

0001-Fix-documentation-for-Hash-nil.patch Magnifier (691 Bytes) Stefan Schüßler, 06/04/2013 09:12 PM

Associated revisions

Revision 41066
Added by Ayumu AIZAWA 11 months ago

  • object.c (rb_Hash): fix docs. patched by Stefan Schüßler. [Bug #8487]

History

#1 Updated by Ayumu AIZAWA 11 months 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. [Bug #8487]

Also available in: Atom PDF