# File lib/backup/storage/sftp.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