]> git.cworth.org Git - sup/blobdiff - lib/sup/hook.rb
Merge branch 'hook-local-vars'
[sup] / lib / sup / hook.rb
index 8a51cfebc14396d4dcd3c0f9cd1af1669479911f..2d6533d3b0c4eb85c46d12b262305d431bd3b3da 100644 (file)
@@ -18,7 +18,7 @@ class HookManager
     end
 
     def log s
-      Redwood::log "hook[#@__name]: #{s}"
+      info "hook[#@__name]: #{s}"
     end
 
     def ask_yes_or_no q
@@ -69,8 +69,6 @@ class HookManager
     @tags = {}
 
     Dir.mkdir dir unless File.exists? dir
-
-    self.class.i_am_the_instance self
   end
 
   attr_reader :tags
@@ -135,7 +133,7 @@ private
   end
 
   def log m
-    Redwood::log("hook: " + m)
+    info("hook: " + m)
   end
 end