method

locate_plugins_under

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: Rails::Plugin::FileSystemLocator
locate_plugins_under(base_path) private

This starts at the base path looking for valid plugins (see Rails::Plugin#valid?). Since plugins can be nested arbitrarily deep within an unspecified number of intermediary directories, this method runs recursively until it finds a plugin directory, e.g.

    locate_plugins_under('vendor/plugins/acts/acts_as_chunky_bacon')
    => <Rails::Plugin name: 'acts_as_chunky_bacon' ... >
Show source
Register or log in to add new notes.