Method: Qonfig::Plugins::Registry#register

Defined in:
lib/qonfig/plugins/registry.rb

#register(plugin_name, plugin_module) ⇒ void Also known as: []=

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

Since:

  • 0.4.0



33
34
35
# File 'lib/qonfig/plugins/registry.rb', line 33

def register(plugin_name, plugin_module)
  thread_safe { apply(plugin_name, plugin_module) }
end