Class: CloudstackNagios::Base
- Inherits:
-
Thor
- Object
- Thor
- CloudstackNagios::Base
- Includes:
- Helper, Thor::Actions
- Defined in:
- lib/cloudstack-nagios/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error.
Methods included from Helper
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/cloudstack-nagios/base.rb', line 9 def config @config end |
Class Method Details
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error
18 19 20 |
# File 'lib/cloudstack-nagios/base.rb', line 18 def self.exit_on_failure? true end |