File: //proc/self/root/opt/alt/ruby32/share/gems/doc/http-cookie-1.1.0/ri/HTTP/Cookie/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"HTTP::Cookie::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"qCreates a cookie object. For each key of <code>attr_hash</code>, the setter
is called if defined and any error (typically ArgumentError or
TypeError) that is raised will be passed through. Each key can be
either a downcased symbol or a string that may be mixed case.
Support for the latter may, however, be obsoleted in future when
Ruby 2.0's keyword syntax is adopted.;To;
; [I"�If <code>value</code> is omitted or it is nil, an expiration cookie is
created unless <code>max_age</code> or <code>expires</code> (<code>expires_at</code>) is given.;To;
; [I" e.g.;To:RDoc::Markup::Verbatim; [ I"new("uid", "a12345")
;TI"4new("uid", "a12345", :domain => 'example.org',
;TI"O :for_domain => true, :expired => Time.now + 7*86400)
;TI"Nnew("name" => "uid", "value" => "a12345", "Domain" => 'www.example.org')
;T:@format0:
@fileI"lib/http/cookie.rb;T:0@omit_headings_from_table_of_contents_below0I"Qnew(name, value = nil)
new(name, value = nil, **attr_hash)
new(**attr_hash)
;T0[ I"(*args);T@FI"Cookie;TcRDoc::NormalClass00