thanks ... simple and efficient :) it works

thanks,

Jean

On 9/22/06, Stephane Elie <stephane.elie / gmail.com> wrote:
> Hi Jean,
>
> Here is my version of it:
>
> require 'open-uri'
>
> # this returns true if the string is found
> open('http://whatever').find { |line| line.match('<span>value</span>') }
> != nil
>
> --
> Posted via http://www.ruby-forum.com/.
>
>