Object
# File lib/yapra/legacy_plugin/base.rb, line 10 def initialize(pipeline, plugin_path) @_yapra_pipeline = pipeline @_yapra_run_method = File.basename(plugin_path, '.*') instance_eval( @source = File.read(plugin_path).toutf8, plugin_path.to_s, 1) end
# File lib/yapra/legacy_plugin/base.rb, line 24 def _yapra_run_as_legacy_plugin(config, data) self.__send__(self._yapra_run_method, config, data) end
# File lib/yapra/legacy_plugin/base.rb, line 20 def eval_pragger(command_array, data) pipeline.execute_plugins(command_array, data) end
# File lib/yapra/legacy_plugin/base.rb, line 16 def logger Yapra::Runtime.logger end
[Validate]
Generated with the Darkfish Rdoc Generator 2.