Skip to content

Commit

Permalink
Add a DEFAULTS hash to contain default values.
Browse files Browse the repository at this point in the history
Add class method to initiate the download
  • Loading branch information
catsby committed Feb 13, 2011
1 parent 4f1c3ce commit 9c9cdc8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/growl-transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@


module GrowlTransfer
# VERSION = '0.0.4'

DEFAULTS = {
'output' => STDOUT,
'local' => "."
}

def self.Download(remote, local)
gd_scp = GTScp.new
gd_scp.download(remote, local)
end

end

0 comments on commit 9c9cdc8

Please sign in to comment.