method
initializer
v4.2.9 -
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.