summaryrefslogtreecommitdiff
path: root/lib/cgi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r--lib/cgi.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 9900923ed8..852891cbdb 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -749,9 +749,6 @@ class CGI
stdoutput.print(*options)
end
- require "delegate"
-
- # Class representing an HTTP cookie.
#
# In addition to its specific fields and methods, a Cookie instance
# is a delegator to the array of its values.
@@ -784,7 +781,7 @@ class CGI
# cookie1.domain = 'domain'
# cookie1.expires = Time.now + 30
# cookie1.secure = true
- class Cookie < DelegateClass(Array)
+ class Cookie < Array
# Create a new CGI::Cookie object.
#