Re: [Wtr-general] how to properly use the snippet function?

2007-06-17 Thread Bret Pettichord
reinier wrote: I am trying to get rid of all cookies via a function. On this forum I found the Snippet thingy. http://rubyforge.org/snippet/detail.php?type=snippetid=26 So I included that code in my script and trying to use it, but I can't figure out how. this is the code: [code]

[Wtr-general] how to properly use the snippet function?

2007-06-13 Thread reinier
I am trying to get rid of all cookies via a function. On this forum I found the Snippet thingy. http://rubyforge.org/snippet/detail.php?type=snippetid=26 So I included that code in my script and trying to use it, but I can't figure out how. this is the code: [code] DeleteUrlCacheEntry =

Re: [Wtr-general] how to properly use the snippet function?

2007-06-13 Thread Cain, Mark
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of reinier Sent: Wednesday, June 13, 2007 1:35 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] how to properly use the snippet function? I am trying to get rid of all cookies via a function. On this forum I found the Snippet thingy. http

Re: [Wtr-general] how to properly use the snippet function?

2007-06-13 Thread Bill Agee
When I needed to use that snippet, I just left the whole thing in a separate file, and initiated the cache/cookie cleanup with system('ruby del_cache.rb') You could also probably paste the whole blob of code into a new method and it should work. It would be possible to do the same work in fewer