Sha256: de5d40b2187d7ff9690b0c4fb14b0a7b17ca46d935849b1dbdc78cb64077b667
Contents?: true
Size: 818 Bytes
Versions: 4
Compression:
Stored size: 818 Bytes
Contents
require "kryten/version" require "kryten/environment" require "kryten/runner" require "kryten/lawger" require "kryten/config" require "kryten/weaver" require "kryten/daemon" require "kryten/remote" # TASK module Kryten::Task include Kryten::Runner include Kryten::Lawger def self.included(base) base.extend Kryten::Config end 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kryten-0.3.9 | lib/kryten.rb |
kryten-0.3.8 | lib/kryten.rb |
kryten-0.3.7 | lib/kryten.rb |
kryten-0.3.6 | lib/kryten.rb |