Module: Puma::Daemon
- Defined in:
- lib/puma/daemon.rb,
lib/puma/daemon/cli.rb,
lib/puma/daemon/dsl.rb,
lib/puma/daemon/version.rb,
lib/puma/daemon/configuration.rb,
lib/puma/daemon/runner_adapter.rb
Defined Under Namespace
Modules: Configuration, DSL, RunnerAdapter Classes: CLI
Constant Summary collapse
- VERSION =
'0.5.0'
Class Method Summary collapse
Class Method Details
.daemonize! ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/puma/daemon.rb', line 19 def self.daemonize! ::Puma::Single.include(::Puma::Daemon::RunnerAdapter) ::Puma::Cluster.include(::Puma::Daemon::RunnerAdapter) ::Puma::DSL.include(::Puma::Daemon::DSL) ::Puma::Configuration.prepend(::Puma::Daemon::Configuration) ::Puma::CLI.instance_eval { attr_reader :options } end |