# File lib/rake/contrib/ftptools.rb, line 95 95: def connect(path, host, account, password) 96: up = self.new(path, host, account, password) 97: begin 98: yield(up) 99: ensure 100: up.close 101: end 102: end