Class: Jets::Rails::Autoloader
- Inherits:
-
Object
- Object
- Jets::Rails::Autoloader
- Defined in:
- lib/jets/rails/autoloader.rb
Defined Under Namespace
Classes: Inflector
Class Method Summary collapse
Class Method Details
.setup ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/jets/rails/autoloader.rb', line 14 def setup loader = Zeitwerk::Loader.new loader.inflector = Inflector.new lib = File.("../..", __dir__) # lib loader.push_dir(lib) loader.ignore("#{lib}/jets-rails.rb") loader.setup end |