method

run

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: Rails::Initializer
run(command = :process, configuration = Configuration.new) public

Runs the initializer. By default, this will invoke the #process method, which simply executes all of the initialization routines. Alternately, you can specify explicitly which initialization routine you want:

  Rails::Initializer.run(:set_load_path)

This is useful if you only want the load path initialized, without incurring the overhead of completely loading the entire environment.

Show source
Register or log in to add new notes.