| Class | Capistrano::Transfer::SFTPTransferWrapper |
| In: |
lib/capistrano/transfer.rb
lib/capistrano/transfer.rb |
| Parent: | Object |
| operation | [R] | |
| operation | [R] |
# File lib/capistrano/transfer.rb, line 141
141: def initialize(session, &callback)
142: session.sftp(false).connect do |sftp|
143: @operation = callback.call(sftp)
144: end
145: end
# File lib/capistrano/transfer.rb, line 141
141: def initialize(session, &callback)
142: session.sftp(false).connect do |sftp|
143: @operation = callback.call(sftp)
144: end
145: end
# File lib/capistrano/transfer.rb, line 155
155: def []=(key, value)
156: @operation[key] = value
157: end
# File lib/capistrano/transfer.rb, line 155
155: def []=(key, value)
156: @operation[key] = value
157: end