diff options
Diffstat (limited to 'lib/system_check/base_check.rb')
-rw-r--r-- | lib/system_check/base_check.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system_check/base_check.rb b/lib/system_check/base_check.rb index 46aad8aa885..d374bea1936 100644 --- a/lib/system_check/base_check.rb +++ b/lib/system_check/base_check.rb @@ -40,28 +40,28 @@ module SystemCheck # # @return [String] term when check passed ('yes' if not re-defined in a subclass) def self.check_pass - call_or_return(@check_pass) || 'yes' + call_or_return(@check_pass) || "yes" end ## Term to be displayed when check failed # # @return [String] term when check failed ('no' if not re-defined in a subclass) def self.check_fail - call_or_return(@check_fail) || 'no' + call_or_return(@check_fail) || "no" end # Name of the SystemCheck defined by the subclass # # @return [String] the name def self.display_name - call_or_return(@name) || self.name + call_or_return(@name) || name end # Skip reason defined by the subclass # # @return [String] the reason def self.skip_reason - call_or_return(@skip_reason) || 'skipped' + call_or_return(@skip_reason) || "skipped" end # Define a reason why we skipped the SystemCheck (during runtime) |