Sha256: a9f394cedd0b58451b0a58a4ad14f2ccadb1951390e944cfbb16c0df0d79f7bc
Contents?: true
Size: 476 Bytes
Versions: 23
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true 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
23 entries across 23 versions & 1 rubygems