Method: Ccs::Commands::Copy#call

Defined in:
lib/ccs/commands/copy.rb

#callObject

Performs a transfer between locations - an upload if ‘@source` is local or STDIN, a download if `@source` is an URI.

No guarantees are made about the return values of this method.



36
37
38
# File 'lib/ccs/commands/copy.rb', line 36

def call
  download? ? download : upload
end