Class: Rackdapter::Master
- Inherits:
-
Object
- Object
- Rackdapter::Master
- Includes:
- Configuration
- Defined in:
- lib/rackdapter/master.rb
Instance Method Summary collapse
-
#initialize(config_path) ⇒ Master
constructor
A new instance of Master.
- #start ⇒ Object
Methods included from Configuration
#apps, #config, #configure, #load_apps, #log
Constructor Details
#initialize(config_path) ⇒ Master
Returns a new instance of Master.
7 8 9 10 11 12 |
# File 'lib/rackdapter/master.rb', line 7 def initialize(config_path) log "Loading rackdapter config at #{config_path}" configure(config_path) log "Configuration loaded, starting master server" start end |
Instance Method Details
#start ⇒ Object
14 15 16 17 |
# File 'lib/rackdapter/master.rb', line 14 def start load_apps run end |