lib/qonfig/plugins/access_mixin.rb in qonfig-0.11.0 vs lib/qonfig/plugins/access_mixin.rb in qonfig-0.12.0

- old
+ new

@@ -21,6 +21,18 @@ # @api public # @since 0.4.0 def plugins Qonfig::Plugins.names end + + # @param plugin_name [String, Symbol] + # @param plugin_klass [Class<Qonfig::Plugins::Abstract>] + # @return [void] + # + # @see Qonfig::Plugins + # + # @api public + # @since 0.12.0 + def register_plugin(plugin_name, plugin_klass) + Qonfig::Plugins.register_plugin(plugin_name, plugin_klass) + end end