method

locate_plugins_under

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Rails::Plugin::FileSystemLocator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.