There's no documentation for this item.
| Public Attributes | |
|---|---|
| initializer | |
| Public Methods | |
|---|---|
| add_ |
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_ |
Returns all the plugins that could be found by the current locators. |
| load_ |
|
| 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_ |
|
| configuration | |
| effective_ |
|
| enabled? | |
| ensure_ |
|
| explicit_ |
|
| explicitly_ |
|
| explicitly_ |
|
| loaded? | |
| locate_ |
The locate_plugins method uses each class in config.plugin_locators to find the set of all plugins available to this Rails application. |
| order_ |
|
| register_ |
|
| registered? | |
| registered_ |
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_ |
|
| should_ |
|
<code/>and<pre/>for code samples.