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:
This is useful if you only want the load path initialized, without incurring the overhead of completely loading the entire environment.
# File railties/lib/initializer.rb, line 109 def self.run(command = :process, configuration = Configuration.new) yield configuration if block_given? initializer = new configuration initializer.send(command) initializer end