diff options
-rw-r--r-- | lib/cgi.rb | 4 |
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 |