Parent

Files

Class/Module 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
def initialize(session, &callback)
  session.sftp(false).connect do |sftp|
    @operation = callback.call(sftp)
  end
end

Public Instance Methods

[](key) click to toggle source
# File lib/capistrano/transfer.rb, line 151
def [](key)
  @operation[key]
end
[]=(key, value) click to toggle source
# File lib/capistrano/transfer.rb, line 155
def []=(key, value)
  @operation[key] = value
end
abort!() click to toggle source
# File lib/capistrano/transfer.rb, line 159
def abort!
  @operation.abort!
end
active?() click to toggle source
# File lib/capistrano/transfer.rb, line 147
def active?
  @operation.nil? || @operation.active?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.