* lib/cgi/cookie.rb (inspect): add inspect for debug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
xibbar 2013-06-03 02:38:32 +00:00
parent 94b120fe75
commit 7a8a7864b1

View File

@ -159,6 +159,11 @@ class CGI
cookies cookies
end end
# A summary of cookie string.
def inspect
"#<CGI::Cookie: #{self.to_s.inspect}>"
end
end # class Cookie end # class Cookie
end end