# File lib/anemone/cookie_store.rb, line 19 def merge!(set_cookie_str) begin cookie_hash = WEBrick::Cookie.parse_set_cookies(set_cookie_str).inject({}) do |hash, cookie| hash[cookie.name] = cookie if !!cookie hash end @cookies.merge! cookie_hash rescue end end
Generated with the Darkfish Rdoc Generator 2.