Is it a bad thing to write (super if defined? super) in a module you prepend to things? It does what I expect, but feels weird

#ruby

@soulcutter I made a module that when included used self.included to hook into method_defined on the main class. That then redefined methods onto a prepended module that was created at runtime. You could do something similar but have a set of default methods in the prepended module, and overwrite them if the user defines them. I did it so I could have per method logging for something quick and dirty I was whipping up. Very dirty indeed.