module T::Private::Methods

def self.add_module_with_final_method(mod, method_name)

def self.add_module_with_final_method(mod, method_name)
  methods = @modules_with_final[mod]
  if methods.nil?
    methods = {}
    @modules_with_final[mod] = methods
  end
  methods[method_name] = true
  nil
end