Object
Set by the Splitter if the final archive was “chunked”
Extension for the final archive file(s)
If true, the Cycler will not attempt to remove the package when Cycling.
The time when the backup initiated (in format: 2011.02.20.03.29.59)
The trigger which initiated the backup process
The version of Backup used to create the package
# File lib/backup/package.rb, line 29 def initialize(model) @trigger = model.trigger @extension = 'tar' @chunk_suffixes = Array.new @no_cycle = false @version = VERSION end
# File lib/backup/package.rb, line 45 def basename "#{ trigger }.#{ extension }" end
# File lib/backup/package.rb, line 37 def filenames if chunk_suffixes.empty? [basename] else chunk_suffixes.map {|suffix| "#{ basename }-#{ suffix }" } end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.