From 703532aa1c71addb3640d597c86f17c4e7feeb48 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 28 Dec 2006 06:34:02 +0000 Subject: * lib/cgi.rb (CGI::Cookie::initialize): use Array() again. [ruby-core:09781] * object.c (rb_Array): returns 1-element array if the argument does not have to_ary nor to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/cgi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cgi.rb') diff --git a/lib/cgi.rb b/lib/cgi.rb index b7b5c2b9f7..440d3bef90 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -811,7 +811,7 @@ class CGI end @name = options["name"] - @value = *options["value"] + @value = Array(options["value"]) # simple support for IE if options["path"] @path = options["path"] -- cgit v1.2.3