summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-29 05:39:09 +0000
committerwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-29 05:39:09 +0000
commit4b3a6c7aecca7eeb7dd52ff7b22cbe6c3bbbcc07 (patch)
tree1e3260ee2c61ce77d366719b2b585a416cf37a4a /lib
parent4ab1577db3bb1358af5fd387a59c541621f5df1e (diff)
fix for POST method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index e44ef862e3..13fd5bddfd 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -1905,8 +1905,8 @@ The hash keys are case sensitive. Ask the samples.
else
at_exit() do
if defined?(CGI_PARAMS)
- remove_const(:CGI_PARAMS)
- remove_const(:CGI_COOKIES)
+ self.class.class_eval("remove_const(:CGI_PARAMS)")
+ self.class.class_eval("remove_const(:CGI_COOKIES)")
end
end
end