class Protocol::HTTP::Cookie
def self.parse_directives(strings)
def self.parse_directives(strings) strings.collect do |string| key, value = string.split("=", 2) [key, value || true] end.to_h end
def self.parse_directives(strings) strings.collect do |string| key, value = string.split("=", 2) [key, value || true] end.to_h end