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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Same as #download, but blocks until the download finishes. Identical to calling #download and then calling the #wait method on the channel object that is returned."
- !ruby/struct:SM::Flow::VERB 
  body: "  scp.download!(&quot;/remote/path&quot;, &quot;/local/path&quot;)\n"
- !ruby/struct:SM::Flow::P 
  body: If <tt>local</tt> is nil, and the download is not recursive (e.g., it is downloading only a single file), the file will be downloaded to an in-memory buffer and the resulting string returned.
- !ruby/struct:SM::Flow::VERB 
  body: "  data = download!(&quot;/remote/path&quot;)\n"
full_name: Net::SCP#download!
is_singleton: false
name: download!
params: (remote, local=nil, options={}, &progress)
visibility: public
