Sha256: 6dcebab11e774d8aed1f6cab3d8b2c98758a56d5ab08562cdc20d3f2f5a7b9ae
Contents?: true
Size: 447 Bytes
Versions: 37
Compression:
Stored size: 447 Bytes
Contents
module Praxis module BootloaderStages class PluginConfigPrepare < Stage def execute application.plugins.each do |config_key, plugin| attribute = Attributor::Attribute.new(Attributor::Struct) {} plugin.config_attribute = attribute plugin.prepare_config!(attribute.type) application.config.class.attributes[config_key] = plugin.config_attribute end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems