public Method

Dependencies.will_unload?(const_desc)

Will the provided constant descriptor be unloaded?

Source Code

# File active_support/dependencies.rb, line 288
def will_unload?(const_desc)
  autoloaded?(desc) ||
    explicitly_unloadable_constants.include?(to_constant_name(const_desc))
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.