class Tapioca::Dsl::Compilers::UrlHelpers

def create_mixins_for(mod, helper_module)

def create_mixins_for(mod, helper_module)
  include_helper = constant.ancestors.include?(helper_module) || NON_DISCOVERABLE_INCLUDERS.include?(constant)
  extend_helper = constant.singleton_class.ancestors.include?(helper_module)
  mod.create_include(T.must(helper_module.name)) if include_helper
  mod.create_extend(T.must(helper_module.name)) if extend_helper
end