# File lib/capistrano/configuration/actions/file_transfer.rb, line 37 def transfer(direction, from, to, options={}, &block) if dry_run return logger.debug "transfering: #{[direction, from, to] * ', '}" end execute_on_servers(options) do |servers| targets = servers.map { |s| sessions[s] } Transfer.process(direction, from, to, targets, options.merge(:logger => logger), &block) end end