Class: Backup::Manager::TaskDefinition
- Inherits:
-
Struct
- Object
- Struct
- Backup::Manager::TaskDefinition
- Defined in:
- lib/backup/manager.rb
Instance Attribute Summary collapse
-
#cleanup_path ⇒ Object
Returns the value of attribute cleanup_path.
-
#destination_optional ⇒ Object
Returns the value of attribute destination_optional.
-
#destination_path ⇒ Object
Returns the value of attribute destination_path.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#human_name ⇒ Object
Returns the value of attribute human_name.
-
#task ⇒ Object
Returns the value of attribute task.
Instance Method Summary collapse
Instance Attribute Details
#cleanup_path ⇒ Object
Returns the value of attribute cleanup_path
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def cleanup_path @cleanup_path end |
#destination_optional ⇒ Object
Returns the value of attribute destination_optional
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def destination_optional @destination_optional end |
#destination_path ⇒ Object
Returns the value of attribute destination_path
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def destination_path @destination_path end |
#enabled ⇒ Object
Returns the value of attribute enabled
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def enabled @enabled end |
#human_name ⇒ Object
Returns the value of attribute human_name
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def human_name @human_name end |
#task ⇒ Object
Returns the value of attribute task
23 24 25 |
# File 'lib/backup/manager.rb', line 23 def task @task end |
Instance Method Details
#enabled? ⇒ Boolean
32 33 34 |
# File 'lib/backup/manager.rb', line 32 def enabled? enabled.nil? || enabled end |