def define_inheritable_method(mod_name, *args, &block)
      mod = get_inheritable_module(mod_name)
      mod.module_eval do
        define_method(*args, &block)
      end
    end
def define_inheritable_method(mod_name, *args, &block)
      mod = get_inheritable_module(mod_name)
      mod.module_eval do
        define_method(*args, &block)
      end
    end
Similar to .define_method, but adds a dynamic module in the inheritance
 change to attach the method to. See:

 http://thepugautomatic.com/2013/07/dsom/