Sha256: f80091321cbd976a5c2b0b76ae11b7ef3d83d1b8e827666c1b3bf2e60ca957b3
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 Bytes
Contents
# frozen_string_literal: true module Qonfig module Commands # @api private # @since 0.1.0 class Compose < Base # @return [Qonfig::DataSet] # # @api private # @since 0.1.0 attr_reader :data_set_klass # @param data_set_klass [Qonfig::DataSet] # # @api private # @since 0.1.0 def initialize(data_set_klass) @data_set_klass = data_set_klass end # @param settings [Qonfig::Settings] # @return [void] # # @api private # @since 0.1.0 def call(settings) composite_settings = data_set_klass.new.settings settings.__append_settings__(composite_settings) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qonfig-0.1.0 | lib/qonfig/commands/compose.rb |