public Method

Initializer.initialize_dependency_mechanism

Sets the dependency loading mechanism based on the value of Configuration#cache_classes.

Source Code

# File initializer.rb, line 304
def initialize_dependency_mechanism
  Dependencies.mechanism = configuration.cache_classes ? :require : :load
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.