Module: Daemons::Rails

Defined in:
lib/daemons-ruby3.rb,
lib/daemons/rails.rb,
lib/daemons/rails/config.rb,
lib/daemons/rails/version.rb,
lib/daemons/rails/controller.rb,
lib/daemons/rails/monitoring.rb,
lib/daemons/rails/configuration.rb

Defined Under Namespace

Classes: Config, Configuration, Controller, Monitoring, Railtie

Constant Summary collapse

VERSION =
'0.2.2'

Class Method Summary collapse

Class Method Details

.configurationDaemons::Rails::Configuration



7
8
9
# File 'lib/daemons/rails.rb', line 7

def self.configuration
  @configuration ||= Daemons::Rails::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



11
12
13
# File 'lib/daemons/rails.rb', line 11

def self.configure
  yield configuration
end

.run(*args) ⇒ Object



15
16
17
# File 'lib/daemons/rails.rb', line 15

def self.run(*args)
  Daemons.run(*args)
end