Class: Merb::BootLoader::BackgroundServices
- Inherits:
-
Merb::BootLoader
- Object
- Merb::BootLoader
- Merb::BootLoader::BackgroundServices
- Defined in:
- lib/merb-core/bootloader.rb
Class Method Summary collapse
-
.run ⇒ Object
Start background services, such as the run_later worker thread.
Methods inherited from Merb::BootLoader
after, after_app_loads, before, before_app_loads, before_master_shutdown, before_worker_shutdown, default_framework, finished?, inherited, move_klass
Class Method Details
.run ⇒ Object
Start background services, such as the run_later worker thread.
Returns
nil
:api: plugin
1354 1355 1356 1357 |
# File 'lib/merb-core/bootloader.rb', line 1354 def self.run Merb::Worker.start unless Merb.testing? || Merb::Worker.started? nil end |