mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
94b120fe75
commit
7a8a7864b1
1 changed files with 5 additions and 0 deletions
|
@ -159,6 +159,11 @@ class CGI
|
|||
cookies
|
||||
end
|
||||
|
||||
# A summary of cookie string.
|
||||
def inspect
|
||||
"#<CGI::Cookie: #{self.to_s.inspect}>"
|
||||
end
|
||||
|
||||
end # class Cookie
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue