Actions
Feature #502
closedCGI::CookieをdelegateからArrayの継承へ変更
    Feature #502:
    CGI::CookieをdelegateからArrayの継承へ変更
  
Status:
Closed
Assignee:
-
Target version:
-
Description
=begin
Index: lib/cgi.rb¶
--- lib/cgi.rb	(revision 18876)
+++ lib/cgi.rb	(working copy)
@@ -749,8 +749,6 @@
stdoutput.print(*options)
end
- require "delegate"
- 
Class representing an HTTP cookie.¶In addition to its specific fields and methods, a Cookie instance¶
@@ -784,7 +782,7 @@
#   cookie1.domain  = 'domain'
#   cookie1.expires = Time.now + 30
#   cookie1.secure  = true
- class Cookie < DelegateClass(Array)
- 
class Cookie < Array Create a new CGI::Cookie object.¶
これに対するテストも添付します。
CGIAltに附属するtest_cgi_cookie.rbです。
無修正で通ります。
=end
Files
Actions