Class: ROM::PluginsContainer Private
- Defined in:
- core/lib/rom/plugin_registry.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Abstract registry defining common behaviour
Instance Attribute Summary collapse
- #plugin_type ⇒ Object readonly private
Instance Method Summary collapse
-
#register(name, mod, options) ⇒ Object
private
Assign a plugin to this environment registry.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ROM::Registry
Instance Attribute Details
#plugin_type ⇒ Object (readonly)
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.
71 |
# File 'core/lib/rom/plugin_registry.rb', line 71 option :type |
Instance Method Details
#register(name, mod, options) ⇒ Object
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.
Assign a plugin to this environment registry
80 81 82 |
# File 'core/lib/rom/plugin_registry.rb', line 80 def register(name, mod, ) elements[name] = plugin_type.new(name, mod, **) end |