Sha256: 48dedf234eddfc72b93065759afdc2df6030213ca48ce037fafd48766188b72a
Contents?: true
Size: 809 Bytes
Versions: 1
Compression:
Stored size: 809 Bytes
Contents
class Eco::API::Common::Loaders::Config extend Eco::API::Common::ClassHelpers extend Eco::Language::Methods::DelegateMissing inheritable_class_vars :delegate_missing_to class << self # To create samples of configurations def config_block(&block) return @config_block unless block_given? unless @config_block.nil? msg = "Reconfiguring config_block on #{self}" session.log(:warn) { msg } end @config_block = block end def config(...) ASSETS.config(...) end def cli ASSETS.cli end def active_enviro config.active_enviro end end delegate_missing_to :config end require_relative 'config/cli' require_relative 'config/workflow' require_relative 'config/session'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eco-helpers-3.0.21 | lib/eco/api/common/loaders/config.rb |