module T::Private::Methods
def self.add_module_with_final_method(mod, method_name, is_singleton_method)
def self.add_module_with_final_method(mod, method_name, is_singleton_method) m = is_singleton_method ? mod.singleton_class : mod mid = m.object_id methods = @modules_with_final[mid] if methods.nil? methods = {} @modules_with_final[mid] = methods end methods[method_name] = true nil end