From 5478f3d9c94d7925dd04bc0e3d2d14da29f0e5b4 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 14 Apr 2013 11:48:54 +0900 Subject: [PATCH] Improve rdoc. --- lib/http/cookie.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/http/cookie.rb b/lib/http/cookie.rb index 168dfbb..098dd57 100644 --- a/lib/http/cookie.rb +++ b/lib/http/cookie.rb @@ -291,11 +291,10 @@ class HTTP::Cookie target_path[bsize] == ?/ end - # Parses a Set-Cookie header value `set_cookie` into an array of - # Cookie objects taking `origin` as the source URI/URL. Parts - # (separated by commas) that are malformed or invalid are silently - # ignored. For example, cookies that a given origin is not - # allowed to issue are excluded from the resulted array. + # Parses a Set-Cookie header value `set_cookie` assuming that it + # is sent from a source URI/URL `origin`, and returns an array of + # Cookie objects. Parts (separated by commas) that are malformed + # or considered unacceptable are silently ignored. # # If a block is given, each cookie object is passed to the block. #