instance method
plugins
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
plugins()
Returns the plugins to be loaded, in the order they should be loaded.
Source
# File railties/lib/rails/plugin/loader.rb, line 21
def plugins
@plugins ||= all_plugins.select { |plugin| should_load?(plugin) }.sort { |p1, p2| order_plugins(p1, p2) }
end
Defined in railties/lib/rails/plugin/loader.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Plugin::Loader