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