Class: BoringBackup::Commands::Check
- Inherits:
-
Struct
- Object
- Struct
- BoringBackup::Commands::Check
- Defined in:
- lib/boring_backup/commands/doctor.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
2 3 4 |
# File 'lib/boring_backup/commands/doctor.rb', line 2 def detail @detail end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/boring_backup/commands/doctor.rb', line 2 def name @name end |
#status ⇒ Object
Returns the value of attribute status
2 3 4 |
# File 'lib/boring_backup/commands/doctor.rb', line 2 def status @status end |
Instance Method Details
#failed? ⇒ Boolean
3 |
# File 'lib/boring_backup/commands/doctor.rb', line 3 def failed? = status == :fail |