lib/plugin_manager.rb
# return plugin instance from plugin manager
#
# @param plugin [String] name of plugin without scope
# @return [Plugin] plugin instance
return plugin instance from plugin manager
return plugin instance from plugin manager
def instance plugin
    if @scope
      @plugin_instances[@scope + '::' + plugin]
    else
      @plugin_instances[plugin]
    end
  end
def instance plugin if @scope @plugin_instances [ @scope + '::' + plugin ] else @plugin_instances [ plugin ] end end
return plugin instance from plugin manager
return plugin instance from plugin manager
None
Plugin
plugin
name of plugin without scope
name of plugin without scope