From: "T. Onoma" Date: 2003-11-23T03:29:41+09:00 Subject: Re: open-uri patch, added progress_proc hook On Saturday 22 November 2003 04:34 pm, Tanaka Akira wrote: > Since singleton method is bound for single URI object, it is not > suitable to use with other URI object created by redirection. So it > is not suitable to control behavior over open call. opts = OpenUriOptions.new def opts.progress_bar( percent_done ) puts "Yeah, we're at " + percent_done + "% now!" end open( "http://whytheluckystiff.net/why.yml", opts )