-- Import all child modules into Enums

for _, module in pairs( script:GetChildren() ) do
    if ( not module:IsA("ModuleScript") ) then return end
    assert( (not Enums[module.Name]), string.format("%s.%s already exists!", script:GetFullName(), module.Name) )

    local requiredModule = require( module )
    assert( typeof(requiredModule)  == "table", "Enums expects modules to return a table, got" .. type(requiredModule) )

    Enums[ module.Name ] = CustomEnum.new( module.Name, requiredModule )
end

