summaryrefslogtreecommitdiff
path: root/lib/cgi/cookie.rb
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2017-11-13 14:48:29 +0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-04 09:19:30 +0900
commit4173258fd0413c49ef07d54bc9654bba7e497e89 (patch)
tree74f0024198404b5b455eaed5b0c39d5a9076e468 /lib/cgi/cookie.rb
parent8e7df4bbf991b9d605784225db0750bbfe681f23 (diff)
change call CGI methods from :: to .
Closes: https://github.com/ruby/ruby/pull/1749
Diffstat (limited to 'lib/cgi/cookie.rb')
-rw-r--r--lib/cgi/cookie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi/cookie.rb b/lib/cgi/cookie.rb
index 9a0d41e2b85..5033357ab66 100644
--- a/lib/cgi/cookie.rb
+++ b/lib/cgi/cookie.rb
@@ -146,7 +146,7 @@ class CGI
buf = "#{@name}=#{val}".dup
buf << "; domain=#{@domain}" if @domain
buf << "; path=#{@path}" if @path
- buf << "; expires=#{CGI::rfc1123_date(@expires)}" if @expires
+ buf << "; expires=#{CGI.rfc1123_date(@expires)}" if @expires
buf << "; secure" if @secure
buf << "; HttpOnly" if @httponly
buf