Sha256: 18f4efab8e7a33bc01f1324a152ec8f4a9af2fb549dca6e8fc80c1d531f1426a
Contents?: true
Size: 778 Bytes
Versions: 1
Compression:
Stored size: 778 Bytes
Contents
require "kryten/version" require "kryten/environment" require "kryten/runner" require "kryten/lawger" require "kryten/setup" require "kryten/weaver" require "kryten/daemon" require "kryten/remote" # TASK module Kryten::Task include Kryten::Runner include Kryten::Lawger include Kryten::Helper end module Kryten::ThreadedTask include Kryten::Task include Kryten::Weaver end module Kryten::BackgroundTask include Kryten::Task include Kryten::Daemon end # JOB class Kryten::Job include Kryten::BackgroundTask end class Kryten::ThreadedJob include Kryten::ThreadedTask end class Kryten::ThreadedVisor extend Kryten::ThreadedTask def self.setup Signal.trap("INT", proc { stop_work }) Signal.trap("TERM", proc { stop_work }) super end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kryten-0.3.4 | lib/kryten.rb |