Sha256: 97121d8523c032b5a5f8c97535fb95c43ee42a2d34043a936f11a664db6d3dce
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
require 'activehook/workers/manager' module ActiveHook class Server def initialize at_exit { shutdown } end def start @manager = Workers::Manager.new(ActiveHook.config.worker_options) @manager.start sleep end def shutdown @manager.shutdown end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activehook-0.1.0 | lib/activehook/server.rb |