method
should_load?
v2.2.1 -
Show latest stable
- Class:
Rails::Plugin::Loader
should_load?(plugin)protected
No documentation available.
# File railties/lib/rails/plugin/loader.rb, line 76
def should_load?(plugin)
# uses Plugin#name and Plugin#valid?
enabled?(plugin) && plugin.valid?
end