lib/wolf_core/utils/require_utils.rb



module WolfCore
  module RequireUtils
    module_function

    def require_relative_files(*folders)
      folder_files = File.join(*folders, '**', '*.rb')
      Dir[folder_files].sort.each { |file| require_relative file }
    end
  end
end