Class: Rounders::Plugins::PluginLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/rounders/plugins/plugin_loader.rb

Class Method Summary collapse

Class Method Details

.load_pluginsObject



9
10
11
# File 'lib/rounders/plugins/plugin_loader.rb', line 9

def load_plugins
  pluggable_classes.each(&:load_plugins)
end

.register(klass) ⇒ Object



5
6
7
# File 'lib/rounders/plugins/plugin_loader.rb', line 5

def register(klass)
  pluggable_classes << klass
end