From 52e6545fbeb7a8da4eb07eeb13594f3a26b65b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Sch=C3=BC=C3=9Fler?= Date: Tue, 4 Jun 2013 13:58:53 +0200 Subject: [PATCH] Fix documentation for Hash(nil) --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object.c b/object.c index 0da87b0..c1a52bd 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 */ -- 1.8.1.4