lib/executionhooks.rb in gogetit-0.1.18 vs lib/executionhooks.rb in gogetit-0.1.19
- old
+ new
@@ -1,7 +1,7 @@
# https://gist.github.com/ryanlecompte/1283413
module Gogetit
- module Gogetit::ExecutionHooks
+ module ExecutionHooks
# this method is invoked whenever a new instance method is added to a class
def method_added(method_name)
# do nothing if the method that was added was an actual hook method, or
# if it already had hooks added to it
return if hooks.include?(method_name) || hooked_methods.include?(method_name)