Method: Ruber::PluginLike#update_project
- Defined in:
- lib/ruber/plugin_like.rb
#update_project(prj) ⇒ nil
Ensures that all the project options, widgets and extensions which are provided by the plugin and match the project have been added to it and that none which doesn’t match it have been added
This method is called when one of the characteristics of the project the rules take into account change, so that the plugin always add to the project all the pertinent content
394 395 396 397 398 399 400 401 |
# File 'lib/ruber/plugin_like.rb', line 394 def update_project prj prj, false prj, false prj prj remove_extensions_from_project prj, false add_extensions_to_project prj, false end |