Monitor methods added to classes/modules with watch_methods
watch_methods lets you watch when methods are defined with regexes, symbols, arrays and more. This is useful when you are creating a gem that is expecting methods to be defined, or to use your macro style methods that mention methods before they are defined (think Rails callbacks, validators etc).
Post a comment