lib/barista/hooks.rb in barista-1.2.1 vs lib/barista/hooks.rb in barista-1.3.0

- old
+ new

@@ -14,7 +14,11 @@ break if callback.call(*args) == false end nil end + def has_hook?(name) + @callbacks.has_key?(name) + end + end -end \ No newline at end of file +end