# File lib/net/sftp.rb, line 27 def start( *args, &block ) session = Net::SSH.start( *args ) Net::SFTP::Session.new( session, &block ) ensure session.close if session && block_given? end