Closed postmodern closed 1 year ago
The motivation for this PR is to allow selecting cookies by with the same name
but different Path
or Domain
values. cookies.all
would combine all cookies into a Hash, so cookies with the same name
but different Domain
would overwrite each other.
Perfect! Thank you!
Ferrum::Cookies::Cookie#each
.Ferrum::Cookies
Enumerable
.Ferrum::Cookies#all
to use#each
.Ferrum::Cookies#[]
to usefind { |cookie| ... }
.