lib/isolator/adapters/base.rb in isolator-0.6.1 vs lib/isolator/adapters/base.rb in isolator-0.6.2

- old
+ new

@@ -29,11 +29,11 @@ def notify?(*args) enabled? && Isolator.enabled? && Isolator.within_transaction? && !ignored?(*args) end - def ignore_if - ignores << Proc.new + def ignore_if(&block) + ignores << block end def ignores @ignores ||= [] end