Class: Backup::Storage::Local
- Includes:
- Cycler
- Defined in:
- lib/backup/storage/local.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary
Attributes inherited from Base
#keep, #model, #package, #path, #storage_id
Instance Method Summary collapse
-
#initialize(model, storage_id = nil) ⇒ Local
constructor
A new instance of Local.
Methods inherited from Base
Methods included from Config::Helpers
Constructor Details
#initialize(model, storage_id = nil) ⇒ Local
Returns a new instance of Local.
9 10 11 12 13 |
# File 'lib/backup/storage/local.rb', line 9 def initialize(model, storage_id = nil) super @path ||= '~/backups' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backup::Config::Helpers