lib/sup/hook.rb in sup-0.10.2 vs lib/sup/hook.rb in sup-0.11

- old
+ new

@@ -111,9 +111,10 @@ end def enabled? name; !hook_for(name).nil? end def clear; @hooks.clear; end + def clear_one k; @hooks.delete k; end private def hook_for name unless @hooks.member? name