Sha256: 9f1eaa90e4e7f1d782ef99a818ec93b4cc21439e3806d512faa0b964f374a219
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.2.0 module Qonfig::Settings::Builder class << self # @param commands [Qonfig::CommandSet] # @return [Qonfig::Settings] # # @api private # @since 0.2.0 def build(commands) Qonfig::Settings.new.tap do |settings| commands.each { |command| command.call(settings) } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qonfig-0.12.0 | lib/qonfig/settings/builder.rb |
qonfig-0.11.0 | lib/qonfig/settings/builder.rb |