lib/knj/threadhandler.rb in knjrbfw-0.0.59 vs lib/knj/threadhandler.rb in knjrbfw-0.0.62

- old
+ new

@@ -1,10 +1,10 @@ class Knj::Threadhandler attr_reader :inactive_blocks, :args, :activate_blocks, :mutex, :objects def initialize(args = {}) require "#{$knjpath}errors" - require "tsafe" + require "tsafe" if !Kernel.const_defined?(:Tsafe) @args = args @objects = [] @args[:timeout] = 5 if !@args[:timeout] @args[:max] = 50 if !@args[:max] \ No newline at end of file