From aff64b94786b51d105a93ae3c635b5afca853554 Mon Sep 17 00:00:00 2001 From: ayumin Date: Tue, 4 Jun 2013 14:47:33 +0000 Subject: * object.c (rb_Hash): fix docs. patched by Stefan Schüßler. [ruby-core:55299] [Bug #8487] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object.c') diff --git a/object.c b/object.c index 0da87b079b..c1a52bdbf8 100644 --- a/object.c +++ b/object.c @@ -2897,7 +2897,7 @@ rb_Hash(VALUE val) * arg is nil or []. * * Hash([]) #=> {} - * Hash(nil) #=> nil + * Hash(nil) #=> {} * Hash(key: :value) #=> {:key => :value} * Hash([1, 2, 3]) #=> TypeError */ -- cgit v1.2.3