Skip to content

Commit

Permalink
modified string_download parameter to pass recursive false argument t…
Browse files Browse the repository at this point in the history
…o net_scp_transfer
  • Loading branch information
cschwartz committed Jan 20, 2014
1 parent 607ce23 commit 3938059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rye/cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def dir_download(*paths); net_scp_transfer!(:download, true, *paths); end
#
# Returns a String containing the content of all remote *paths*.
def string_download(*paths)
net_scp_transfer!(:download, *paths).string
net_scp_transfer!(:download, false, *paths).string
end
alias_method :str_download, :string_download

Expand Down

0 comments on commit 3938059

Please sign in to comment.