Method: Ruber::PluginLike#remove_widgets_from_project

Defined in:
lib/ruber/plugin_like.rb

#remove_widgets_from_project(prj) ⇒ nil

Removes the project widgets provided by the plugin from a project

Parameters:

Returns:

  • (nil)


259
260
261
262
263
264
# File 'lib/ruber/plugin_like.rb', line 259

def remove_widgets_from_project prj
  @plugin_description.project_widgets.each do |w| 
    prj.remove_widget w
  end
  nil
end