# File lib/cgikit/cookie.rb, line 75
  def to_s
    buf = "#@name="
    if @value   then buf << Utilities.escape_url(@value.to_s) end
    if @domain  then buf << "; domain=#@domain" end
    if @path    then buf << "; path=#@path" end
    if @expires then buf << "; expires=#{Utilities.date(@expires)}" end
    if @secure == true then buf << '; secure' end
    buf
  end