Class: Vizcore::CLISupport::Doctor::Check
- Inherits:
-
Struct
- Object
- Struct
- Vizcore::CLISupport::Doctor::Check
- Defined in:
- lib/vizcore/cli/doctor.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
14 15 16 |
# File 'lib/vizcore/cli/doctor.rb', line 14 def @message end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/vizcore/cli/doctor.rb', line 14 def name @name end |
#status ⇒ Object
Returns the value of attribute status
14 15 16 |
# File 'lib/vizcore/cli/doctor.rb', line 14 def status @status end |
Instance Method Details
#failure? ⇒ Boolean
19 20 21 |
# File 'lib/vizcore/cli/doctor.rb', line 19 def failure? status == :fail end |
#ok? ⇒ Boolean
15 16 17 |
# File 'lib/vizcore/cli/doctor.rb', line 15 def ok? status == :ok end |