lib/method_callbacks.rb in method_callbacks-1.2.1 vs lib/method_callbacks.rb in method_callbacks-1.2.2
- old
+ new
@@ -48,11 +48,11 @@
method = __method_callbacks_finder(method_name).find_or_new
__method_callbacks_redefine_method(method)
method
end
- def __method_callbacks_method_added(method_name)
- __method_callbacks_redefine_method(find(method_name))
+ def method_added(method_name)
+ __method_callbacks_redefine_method(__method_callbacks_find(method_name))
super
end
def __method_callbacks_redefine_method(method)