Adds the given package to the YAML storage file corresponding to the given storage and Package#trigger (Model#trigger). Then, calls the storage to remove the files for any older packages that were removed from the YAML storage file.
# File lib/backup/storage/cycler.rb, line 14 def cycle!(storage) @storage = storage @package = storage.package @storage_file = storage_file update_storage_file! remove_packages! end
Generated with the Darkfish Rdoc Generator 2.