class Peak::Plugins::PluginFactory

Public Class Methods

get_registered_plugins() click to toggle source
# File lib/peak/plugins/plugin_factory.rb, line 13
def self.get_registered_plugins
    return @@plugins.dup
end
register_plugin(new_plugin) click to toggle source
# File lib/peak/plugins/plugin_factory.rb, line 6
def self.register_plugin(new_plugin)
    if new_plugin
        @@plugins << new_plugin
        @@plugins.uniq!
    end
end