summaryrefslogtreecommitdiff
path: root/lib/cgi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r--lib/cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index e44ef862e3a..13fd5bddfd3 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