# File lib/god/hub.rb, line 67 def self.handle_event(condition) Thread.new do metric = @@directory[condition] watch = metric.watch watch.mutex.synchronize do puts watch.name + ' ' + condition.class.name + " [true]" p metric.destination dest = metric.destination[true] watch.move(dest) end end end