--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Creates a new Net::SFTP instance atop the given Net::SSH connection. This will return immediately, before the SFTP connection has been properly initialized. Once the connection is ready, the given block will be called. If you want to block until the connection has been initialized, try this:"
- !ruby/struct:SM::Flow::VERB 
  body: "  sftp = Net::SFTP::Session.new(ssh)\n  sftp.loop { sftp.opening? }\n"
full_name: Net::SFTP::Session::new
is_singleton: true
name: new
params: (session, &block)
visibility: public
