Sha256: b7c54f7f976340dcc482e0c86e2880a4574c3d9054d489feb965dea12fe3a3ca
Contents?: true
Size: 517 Bytes
Versions: 7
Compression:
Stored size: 517 Bytes
Contents
module Governor class PluginManager cattr_reader :plugins class << self @@plugins = [] # 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 # def register(*plugins) @@plugins += plugins end end end end
Version data entries
7 entries across 7 versions & 1 rubygems