From: "sos4nt (Stefan Schüßler)" Date: 2013-06-04T21:12:03+09:00 Subject: [ruby-core:55299] [ruby-trunk - Bug #8487][Open] Fix documentation for Hash(nil) Issue #8487 has been reported by sos4nt (Stefan Sch����ler). ---------------------------------------- Bug #8487: Fix documentation for Hash(nil) https://bugs.ruby-lang.org/issues/8487 Author: sos4nt (Stefan Sch����ler) Status: Open Priority: Normal Assignee: zzak (Zachary Scott) Category: Target version: ruby -v: ruby 2.0.0p195 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN =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 -- http://bugs.ruby-lang.org/