class Governor::PluginManager
Public Class Methods
register(*plugins)
click to toggle source
Registers the given plugins with Governor
. Usually called within the context of a single plugin, but any number of plugins can be registered.
Example:
comments = Governor::Plugin.new('comments') Governor::PluginManager.register comments
# File lib/governor/plugin_manager.rb, line 17 def register(*plugins) @@plugins += plugins end