Class: BoringBackup::Commands::Check

Inherits:
Struct
  • Object
show all
Defined in:
lib/boring_backup/commands/doctor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



2
3
4
# File 'lib/boring_backup/commands/doctor.rb', line 2

def detail
  @detail
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/boring_backup/commands/doctor.rb', line 2

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



2
3
4
# File 'lib/boring_backup/commands/doctor.rb', line 2

def status
  @status
end

Instance Method Details

#failed?Boolean

Returns:

  • (Boolean)


3
# File 'lib/boring_backup/commands/doctor.rb', line 3

def failed? = status == :fail