lib/blood_contracts/instrumentation/instrument.rb in blood_contracts-instrumentation-0.1.0 vs lib/blood_contracts/instrumentation/instrument.rb in blood_contracts-instrumentation-0.1.1

- old
+ new

@@ -27,10 +27,10 @@ raise ArgumentError unless proto.respond_to?(:call) instance = instrument_from_proc(proto) if before.respond_to?(:call) - inst.define_singleton_method(:before, &before) + instance.define_singleton_method(:before, &before) end define_stub(instance, :before) if after.respond_to?(:call)