Base
Creates a new instance of the storage object
# File lib/backup/storage/local.rb, line 12 def initialize(model, storage_id = nil, &block) super(model, storage_id) @path ||= File.join( File.expand_path(ENV['HOME'] || ''), 'backups' ) instance_eval(&block) if block_given? @path = File.expand_path(@path) end
Generated with the Darkfish Rdoc Generator 2.