method
initializer
v8.1.1 -
Show latest stable
- Class:
Rails::Application
initializer(name, opts = {}, &block)public
Sends the initializers to the initializer method defined in the Rails::Initializable module. Each Rails::Application class has its own set of initializers, as defined by the Initializable module.