Class: Rails::Plugin::NestedFileSystemLocator
- Inherits:
-
FileSystemLocator
- Object
- FileSystemLocator
- Rails::Plugin::NestedFileSystemLocator
- Defined in:
- lib/rails_ext/railties/plugin.rb
Instance Method Summary collapse
Instance Method Details
#locate_plugins_under(base_path) ⇒ Object
49 50 51 52 53 54 55 |
# File 'lib/rails_ext/railties/plugin.rb', line 49 def locate_plugins_under(base_path) plugins = super Dir["{#{plugins.map(&:directory).join(',')}}/vendor/plugins"].each do |path| plugins.concat super(path) end unless plugins.empty? plugins end |