Class: ActiveHook::App::Launcher

Inherits:
Object
  • Object
show all
Defined in:
lib/activehook/app/launcher.rb

Overview

Handles the start of the ActiveHook web via command line

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Launcher

Returns a new instance of Launcher.



6
7
8
9
# File 'lib/activehook/app/launcher.rb', line 6

def initialize(argv)
  @argv = argv
  @puma_config = nil
end

Instance Method Details

#startObject



11
12
13
14
15
# File 'lib/activehook/app/launcher.rb', line 11

def start
  start_message
  setup_options
  boot_puma
end