Ruby CGI::Cookie Functions

EditRocket provides the following information on CGI::Cookie functions in the Ruby source code builder.

new(name = "", *value) - Create a new CGI::Cookie object.

parse(raw_cookie) - Parse a raw cookie string into a hash of cookie-name=>Cookie pairs.

secure=(val) - Set whether the Cookie is a secure cookie or not.

to_s() - Convert the Cookie to its string representation.