--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: domain
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: expires
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: name
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: path
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: secure
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: value
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: parse
comment: 
- !ruby/struct:SM::Flow::P 
  body: Class representing an HTTP cookie.
- !ruby/struct:SM::Flow::P 
  body: In addition to its specific fields and methods, a Cookie instance is a delegator to the array of its values.
- !ruby/struct:SM::Flow::P 
  body: See RFC 2965.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Examples of use
- !ruby/struct:SM::Flow::VERB 
  body: "  cookie1 = CGI::Cookie::new(&quot;name&quot;, &quot;value1&quot;, &quot;value2&quot;, ...)\n  cookie1 = CGI::Cookie::new(&quot;name&quot; =&gt; &quot;name&quot;, &quot;value&quot; =&gt; &quot;value&quot;)\n  cookie1 = CGI::Cookie::new('name'    =&gt; 'name',\n                             'value'   =&gt; ['value1', 'value2', ...],\n                             'path'    =&gt; 'path',   # optional\n                             'domain'  =&gt; 'domain', # optional\n                             'expires' =&gt; Time.now, # optional\n                             'secure'  =&gt; true      # optional\n                            )\n\n  cgi.out(&quot;cookie&quot; =&gt; [cookie1, cookie2]) { &quot;string&quot; }\n\n  name    = cookie1.name\n  values  = cookie1.value\n  path    = cookie1.path\n  domain  = cookie1.domain\n  expires = cookie1.expires\n  secure  = cookie1.secure\n\n  cookie1.name    = 'name'\n  cookie1.value   = ['value1', 'value2', ...]\n  cookie1.path    = 'path'\n  cookie1.domain  = 'domain'\n  cookie1.expires = Time.now + 30\n  cookie1.secure  = true\n"
constants: []

full_name: CGI::Cookie
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: secure=
- !ruby/object:RI::MethodSummary 
  name: to_s
name: Cookie
superclass: DelegateClass(Array)
