polyglot

The Polyglot library allows a Ruby module to register a loader for the file type associated with a filename extension, and it augments 'require' to find and load matching files.

Types
Docs
Guides
Zeitwerk
Namespace
Optimized