Class: Vermillion::Controller::Status
- Defined in:
- lib/client/controller/status.rb
Constant Summary
Constants inherited from Base
Base::OK, Base::QUIT, Base::QUIT_SOFT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#config ⇒ Object
Print configuration information.
-
#default ⇒ Object
Prints both configuration and server information, returns status code 0.
-
#servers ⇒ Object
Print configured server information.
Methods inherited from Base
#can_exec?, #exec, #initialize, #post_exec, #pre_exec, #sample
Constructor Details
This class inherits a constructor from Vermillion::Controller::Base
Instance Method Details
#config ⇒ Object
Print configuration information
13 14 15 |
# File 'lib/client/controller/status.rb', line 13 def config print_config end |
#default ⇒ Object
Prints both configuration and server information, returns status code 0
5 6 7 8 9 10 |
# File 'lib/client/controller/status.rb', line 5 def default print_config print_servers OK end |
#servers ⇒ Object
Print configured server information
18 19 20 |
# File 'lib/client/controller/status.rb', line 18 def servers print_servers end |