Class: QPush::Server::Launcher
- Inherits:
-
Object
- Object
- QPush::Server::Launcher
- Defined in:
- lib/qpush/server/launcher.rb
Overview
Handles the start of the QPush server via command line
Instance Method Summary collapse
-
#initialize(argv) ⇒ Launcher
constructor
A new instance of Launcher.
-
#start ⇒ Object
Parses commmand line options and starts the Manager object.
Constructor Details
#initialize(argv) ⇒ Launcher
Returns a new instance of Launcher.
6 7 8 |
# File 'lib/qpush/server/launcher.rb', line 6 def initialize(argv) @argv = argv end |
Instance Method Details
#start ⇒ Object
Parses commmand line options and starts the Manager object
12 13 14 15 16 17 |
# File 'lib/qpush/server/launcher.rb', line 12 def start setup_jobs boot_manager end |