Sha256: d50c3d3f64b6bd11549c275a608074a5770f9dc1fd2f8b3571d34712b6d2f1dc
Contents?: true
Size: 308 Bytes
Versions: 6
Compression:
Stored size: 308 Bytes
Contents
require 'yapra/plugin' module Yapra::Plugin::ContextAware attr_accessor :yapra, :pipeline, :plugin_config def config @config ||= nil unless @config @config = {}.update(yapra.env).update(pipeline.context) @config.update(plugin_config) if plugin_config end @config end end
Version data entries
6 entries across 6 versions & 1 rubygems