Creates a new instance of the storage object
# File lib/backup/storage/scp.rb, line 26 def initialize(model, storage_id = nil, &block) super(model, storage_id) @port ||= 22 @path ||= 'backups' instance_eval(&block) if block_given? @path = path.sub(/^\~\//, '') end
Generated with the Darkfish Rdoc Generator 2.