# File lib/backup/storage/ftp.rb, line 29 def initialize(model, storage_id = nil, &block) super(model, storage_id) @port ||= 21 @path ||= 'backups' @passive_mode ||= false instance_eval(&block) if block_given? @path = path.sub(/^\~\//, '') end