Class Yapra::LegacyPlugin::AdvanceModeRegistry
In: lib/yapra/legacy_plugin/advance_mode_registry.rb
Parent: Object

AdvanceModeRegistry load legacy plugin at one by one.

Methods

get   logger   new  

Attributes

legacy_plugins  [RW] 
pipeline  [RW] 
plugin_paths  [RW] 

Public Class methods

paths :Directory paths which contain legacy plugins.
pipeline :Runtime pipline.

Public Instance methods

load plugin from module name.

example:

    registry = Yapra::LegacyPlugin::AdvanceModeRegistry.new(paths, pipeline)
    feed_load_plugin = registry.get('Feed::load')

[Validate]