Class: Clickwrap::Doctor::Finding
- Inherits:
-
Data
- Object
- Data
- Clickwrap::Doctor::Finding
- Defined in:
- lib/clickwrap/doctor.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message
27 28 29 |
# File 'lib/clickwrap/doctor.rb', line 27 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status
27 28 29 |
# File 'lib/clickwrap/doctor.rb', line 27 def status @status end |
Instance Method Details
#ok? ⇒ Boolean
28 |
# File 'lib/clickwrap/doctor.rb', line 28 def ok? = status == :ok |
#problem? ⇒ Boolean
30 |
# File 'lib/clickwrap/doctor.rb', line 30 def problem? = status == :problem |
#to_s ⇒ Object
32 |
# File 'lib/clickwrap/doctor.rb', line 32 def to_s = "#{SYMBOLS.fetch(status, "?")} #{}" |
#warning? ⇒ Boolean
29 |
# File 'lib/clickwrap/doctor.rb', line 29 def warning? = status == :warning |