Parent

Class Index [+]

Quicksearch

Capistrano::Transfer::SFTPTransferWrapper

Attributes

operation[R]

Public Class Methods

new(session, &callback) click to toggle source
     # 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

Public Instance Methods

[](key) click to toggle source
     # File lib/capistrano/transfer.rb, line 151
151:         def [](key)
152:           @operation[key]
153:         end
[]=(key, value) click to toggle source
     # File lib/capistrano/transfer.rb, line 155
155:         def []=(key, value)
156:           @operation[key] = value
157:         end
abort!() click to toggle source
     # File lib/capistrano/transfer.rb, line 159
159:         def abort!
160:           @operation.abort!
161:         end
active?() click to toggle source
     # File lib/capistrano/transfer.rb, line 147
147:         def active?
148:           @operation.nil? || @operation.active?
149:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.