method

once

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Autoloaders
once() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/autoloaders.rb, line 19
      def once
        if zeitwerk_enabled?
          @once ||= Zeitwerk::Loader.new.tap do |loader|
            loader.tag = "rails.once"
            loader.inflector = ActiveSupport::Dependencies::ZeitwerkIntegration::Inflector
          end
        end
      end
Register or log in to add new notes.