Project

General

Profile

Bug #8487

Fix documentation for Hash(nil)

Added by Stefan Schüßler over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
ruby 2.0.0p195
[ruby-core:55299]

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 View (691 Bytes) Stefan Schüßler, 06/04/2013 09:12 PM

Associated revisions

Revision 41066
Added by Ayumu AIZAWA over 3 years ago

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

Revision 41066
Added by Ayumu AIZAWA over 3 years ago

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

Revision 41066
Added by Ayumu AIZAWA over 3 years ago

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

History

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

Also available in: Atom PDF