From: Dave Thomas Date: 2003-07-20T03:06:13+09:00 Subject: Re: [Patch] FTP.new with block Mathieu Bouchard wrote: > On Sat, 19 Jul 2003, ts wrote: > >>>>>>>"G" == Gavin Sinclair writes: >> >>G> FTP.new and FTP.open are like their File counterparts: they accept a >>G> block, pass in the ftp object, and ensure the FTP connection is closed >>G> at the end of (or premature exit from) the block. >> Why all persons think that File::new can take a block ? > > > That's psychological: when people have a lot of things to learn, they > (carefully or not) forget the pieces that they can reinvent on the fly. Perhaps it's an argument for having File.new take a block too...