Class: SourceMonitor::Setup::DependencyChecker::Result
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Setup::DependencyChecker::Result
- Defined in:
- lib/source_monitor/setup/dependency_checker.rb
Instance Attribute Summary collapse
-
#current ⇒ Object
Returns the value of attribute current.
-
#expected ⇒ Object
Returns the value of attribute expected.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#remediation ⇒ Object
Returns the value of attribute remediation.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#current ⇒ Object
Returns the value of attribute current
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def current @current end |
#expected ⇒ Object
Returns the value of attribute expected
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def expected @expected end |
#key ⇒ Object
Returns the value of attribute key
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def key @key end |
#name ⇒ Object
Returns the value of attribute name
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def name @name end |
#remediation ⇒ Object
Returns the value of attribute remediation
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def remediation @remediation end |
#status ⇒ Object
Returns the value of attribute status
15 16 17 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 15 def status @status end |
Instance Method Details
#error? ⇒ Boolean
32 33 34 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 32 def error? status == :error end |
#missing? ⇒ Boolean
36 37 38 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 36 def missing? status == :missing end |
#ok? ⇒ Boolean
24 25 26 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 24 def ok? status == :ok end |
#warning? ⇒ Boolean
28 29 30 |
# File 'lib/source_monitor/setup/dependency_checker.rb', line 28 def warning? status == :warning end |