From: ts Date: 2003-07-19T22:15:17+09:00 Subject: Re: [Patch] FTP.new with block >>>>> "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 ? svg% ruby -ve 'File.new("b.rb") { p "block" }' ruby 1.8.0 (2003-07-18) [i686-linux] -e:1: warning: File::new() does not take block; use File::open() instead svg% Guy Decoux