lib/daemons/rails.rb in daemons-rails-1.1.2 vs lib/daemons/rails.rb in daemons-rails-1.2.0
- old
+ new
@@ -1,14 +1,19 @@
-require "daemons/rails/configuration"
+require 'daemons'
+require 'daemons/rails/configuration'
module Daemons
module Rails
# @return [Daemons::Rails::Configuration]
def self.configuration
@configuration ||= Daemons::Rails::Configuration.new
end
def self.configure
yield configuration
+ end
+
+ def self.run(*args)
+ Daemons.run(*args)
end
end
end
\ No newline at end of file