In article <200311221024.05642.transami / runbox.com>,
  "T. Onoma" <transami / runbox.com> writes:

> 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 )

I can't see any benefits over non-singleton method version:

opts = OpenUriOptions.new
opts.progress_bar {|percent_done|
  puts "Yeah, we're at " + percent_done + "% now!"
}
open( "http://whytheluckystiff.net/why.yml", opts )

Why singleton?
-- 
Tanaka Akira