lib/zk/threaded_callback.rb in zk-1.9.5 vs lib/zk/threaded_callback.rb in zk-1.9.6
- old
+ new
@@ -2,10 +2,10 @@
# A class that encapsulates the queue + thread that calls a callback.
# Repsonds to `call` but places call on a queue to be delivered by a thread.
# You will not have a useful return value from `call` so this is only useful
# for background processing.
class ThreadedCallback
- include ZK::Logging
+ include ZK::Logger
include ZK::Exceptions
attr_reader :callback
def initialize(callback=nil, &blk)