# File lib/god/hub.rb, line 24 def self.detach(condition) self.directory.delete(condition) case condition when PollCondition Timer.get.unschedule(condition) when EventCondition, TriggerCondition condition.deregister end end