class
The Rails::Plugin::FileSystemLocator will try to locate plugins by examining the directories in the paths given in configuration.plugin_paths. Any plugins that can be found are returned in a list.
The criteria for a valid plugin in this case is found in Rails::Plugin#valid?, although other subclasses of Rails::Plugin::Locator can of course use different conditions.