Class: Outback::Source
- Includes:
- Configurable, Logging
- Defined in:
- lib/outback/source.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#backup_name ⇒ Object
readonly
Returns the value of attribute backup_name.
Instance Method Summary collapse
- #create_archive(backup_name, timestamp, tmpdir) ⇒ Object
-
#initialize(backup_name) ⇒ Source
constructor
A new instance of Source.
Methods included from Logging
Methods included from Configurable
Constructor Details
#initialize(backup_name) ⇒ Source
Returns a new instance of Source.
8 9 10 |
# File 'lib/outback/source.rb', line 8 def initialize(backup_name) @backup_name = backup_name end |
Instance Attribute Details
#backup_name ⇒ Object (readonly)
Returns the value of attribute backup_name.
6 7 8 |
# File 'lib/outback/source.rb', line 6 def backup_name @backup_name end |
Instance Method Details
#create_archive(backup_name, timestamp, tmpdir) ⇒ Object
12 13 14 |
# File 'lib/outback/source.rb', line 12 def create_archive(backup_name, , tmpdir) raise NotImplementedError end |