From: Tanaka Akira Date: 2003-11-16T19:51:42+09:00 Subject: Re: open-uri patch, added progress_proc hook In article , Elliott Hughes writes: > I know static checking isn't really Ruby's thing, but avoiding weirdness > like parameters that are hashtables full of uncheckable parameters has to be > a good thing! If the benefit of that is parameter checking, how about this style: open("http://...", OpenURI::OptProgressProc => lambda {|s| ... }) OpenURI::OptProgressProc is a some constant of a symbol. -- Tanaka Akira