Class

Loader

Extends:

There's no documentation for this item.

Public Attributes
initializer
Public Methods
add_plugin_load_paths Adds the load paths for every plugin into the $LOAD_PATH. Plugin load paths are added after the application’s lib directory, to ensure that an application can always override code within a plugin.
all_plugins Returns all the plugins that could be found by the current locators.
load_plugins
new Creates a new Plugin::Loader instance, associated with the given Rails::Initializer. This default implementation automatically locates all plugins, and adds all plugin load paths, when it is created. The plugins are then fully loaded (init.rb is evaluated) when load_plugins is called.
plugins Returns the plugins to be loaded, in the order they should be loaded.
Protected Methods
application_lib_index
configuration
effective_order_of
enabled?
ensure_all_registered_plugins_are_loaded!
explicit_plugin_loading_order?
explicitly_enabled?
explicitly_registered?
loaded?
locate_plugins The locate_plugins method uses each class in config.plugin_locators to find the set of all plugins available to this Rails application.
order_plugins
register_plugin_as_loaded
registered?
registered_plugin_names The plugins that have been explicitly listed with config.plugins. If this list is nil then it means the client does not care which plugins or in what order they are loaded, so we load all in alphabetical order. If it is an empty array, we load no plugins, if it is non empty, we load the named plugins in the order specified.
registered_plugins_names_plugin?
should_load?
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.