Class: Vcdeps::Doctor::Check
- Inherits:
-
Struct
- Object
- Struct
- Vcdeps::Doctor::Check
- Defined in:
- lib/vcdeps/doctor.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#label ⇒ Object
Returns the value of attribute label.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
17 18 19 |
# File 'lib/vcdeps/doctor.rb', line 17 def detail @detail end |
#label ⇒ Object
Returns the value of attribute label
17 18 19 |
# File 'lib/vcdeps/doctor.rb', line 17 def label @label end |
#status ⇒ Object
Returns the value of attribute status
17 18 19 |
# File 'lib/vcdeps/doctor.rb', line 17 def status @status end |
Instance Method Details
#icon ⇒ Object
18 19 20 |
# File 'lib/vcdeps/doctor.rb', line 18 def icon { ok: "[ OK ]", warn: "[WARN]", fail: "[FAIL]", info: "[INFO]" }[status] end |