Method: Ruber::Application#plugin_directories=
- Defined in:
- lib/ruber/application/application.rb
#plugin_directories=(dirs) ⇒ Object Also known as: plugin_dirs=
Sets the list of directories where Ruber looks for plugins
This also changes the setting in the global configuration object, but it *doesn’t* write the change to file. It’s up to whoever called this method to do so.
139 140 141 142 |
# File 'lib/ruber/application/application.rb', line 139 def plugin_directories= dirs @plugin_directories = dirs Ruber[:config][:general, :plugin_dirs] = @plugin_directories end |