Method: Jets::Autoloaders.main
- Defined in:
- lib/jets/autoloaders.rb
.main ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/jets/autoloaders.rb', line 26 def main Zeitwerk::Loader.new.tap do |loader| loader.tag = "jets.main" # loader.inflector = Inflector.new # TODO: allow custom app inflector # The main loader is configured later on in Jets::Application#setup_autoload_paths # because it needs access to Jets.root and Jets.config settings end end |