Improve rdoc.

This commit is contained in:
Akinori MUSHA 2013-04-14 11:48:54 +09:00
parent 6fcc298b80
commit 5478f3d9c9

View file

@ -291,11 +291,10 @@ class HTTP::Cookie
target_path[bsize] == ?/ target_path[bsize] == ?/
end end
# Parses a Set-Cookie header value `set_cookie` into an array of # Parses a Set-Cookie header value `set_cookie` assuming that it
# Cookie objects taking `origin` as the source URI/URL. Parts # is sent from a source URI/URL `origin`, and returns an array of
# (separated by commas) that are malformed or invalid are silently # Cookie objects. Parts (separated by commas) that are malformed
# ignored. For example, cookies that a given origin is not # or considered unacceptable are silently ignored.
# allowed to issue are excluded from the resulted array.
# #
# If a block is given, each cookie object is passed to the block. # If a block is given, each cookie object is passed to the block.
# #