# File lib/god/hub.rb, line 22 def self.detach(condition) # remove the condition from the directory @@directory.delete(condition) # unschedule any pending polls Timer.get.unschedule(condition) # deregister event condition if condition.kind_of?(EventCondition) condition.deregister end end