Class: Pechkin::Command::Check
- Defined in:
- lib/pechkin/command/check.rb
Overview
Check configuration consistency and exit.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#configuration, #handler, #initialize, #puts, #warn
Constructor Details
This class inherits a constructor from Pechkin::Command::Base
Instance Method Details
#execute ⇒ Object
9 10 11 |
# File 'lib/pechkin/command/check.rb', line 9 def execute configuration # load configuration from disk and do nothing more end |
#matches? ⇒ Boolean
5 6 7 |
# File 'lib/pechkin/command/check.rb', line 5 def matches? .check? end |