Method: Zeitwerk::Loader.eager_load_all
- Defined in:
- lib/zeitwerk/loader.rb
.eager_load_all ⇒ Object
Broadcasts ‘eager_load` to all loaders. Those that have not been setup are skipped.
410 411 412 413 414 415 416 417 418 |
# File 'lib/zeitwerk/loader.rb', line 410 def eager_load_all Registry.loaders.each do |loader| begin loader.eager_load rescue SetupRequired # This is fine, we eager load what can be eager loaded. end end end |