require "dante/version" require "dante/runner" =begin Dante.run("process-name") do begin # ...something here rescue Abort # ...shutdown here end end =end module Dante # Forks a process and handles option parsing and start/stopping. # # @example # Dante.run("process-name") { Server.run! } # def self.run(name, options={}, &blk) Runner.new(name, options, &blk).execute end end