Method: PluginRegistry::Plugin.resolve
- Defined in:
- lib/utils/plugin_registry.rb
.resolve(_target) ⇒ Plugin
Try to resolve the target. If this plugin cannot handle it, the result will be nil. If, however, the plugin can resolve it, the resulting object will be an instance of this plugin. This means, that the interface that this base class provides, is the basis for the returned type.
74 75 76 |
# File 'lib/utils/plugin_registry.rb', line 74 def self.resolve(_target) raise "Plugin #{self} does not implement `self.resolve(target)`. This method is required" end |