Not found
The exact documentation you were looking for could not be found. Here is the best guess.
to_s()
public
Convert the Cookie to its string representation.
Show source
def to_s
val = collect{|v| CGI::escape(v) }.join("&")
buf = "#{@name}=#{val}"
buf << "; domain=#{@domain}" if @domain
buf << "; path=#{@path}" if @path
buf << "; expires=#{CGI::rfc1123_date(@expires)}" if @expires
buf << "; secure" if @secure == true
buf
end