Class: Outback::SourceArchive
- Defined in:
- lib/outback/source_archive.rb
Constant Summary
Constants inherited from Archive
Instance Attribute Summary
Attributes inherited from Archive
#backup_name, #filename, #size, #source_name, #timestamp
Instance Method Summary collapse
-
#initialize(filename) ⇒ SourceArchive
constructor
A new instance of SourceArchive.
- #open ⇒ Object
- #unlink ⇒ Object
Methods inherited from Archive
Constructor Details
#initialize(filename) ⇒ SourceArchive
Returns a new instance of SourceArchive.
4 5 6 7 |
# File 'lib/outback/source_archive.rb', line 4 def initialize(filename) super(filename) @size = @filename.size end |