lib/neo/dci/context.rb in neo-dci-0.4.0 vs lib/neo/dci/context.rb in neo-dci-0.4.1

- old
+ new

@@ -15,10 +15,10 @@ def self.call(*args, &block) context = new(*args) context.callback = result_class.new(*callbacks, &block) context.call - raise NoCallbackCalled, callbacks unless context.callback.callback + raise NoCallbackCalled, callbacks unless context.callback.called? rescue NotImplementedError raise end def self.result_class(klass = :reader)