Angrez, Jari, I think Jari's got a good point on this one, but we will need to provide this example in the RDoc.
I will show you what I have in a few days. Aidy 2009/11/20 Jari Bakken <[email protected]>: > On Fri, Nov 20, 2009 at 10:59 AM, Angrez Singh <[email protected]> wrote: >> Aidy, >> >> So for getting cookie for a domain we can have something like cookies(domain >> name), so if domain name is supplied it will get cookies only for that >> domain else all the cookies. Let me know if that is fine. >> > > I'm not convinced that getting cookies for one domain needs to be part > of the API. It's not a super-common use case and pretty simple to do > yourself with ruby > > browser.cookies.select { |c| c[:domain] == ".example.com" } > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
