Sha256: 14903b50065335bd999414fd2911490693ebdd875b4313fc46354f6772e2d447
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true module Qonfig # @api private # @since 0.1.0 module SettingsBuilder class << self # @param [Qonfig::CommandSet] # @return [Qonfig::Settings] # # @ api private # @since 0.1.0 def build(commands) Qonfig::Settings.new.tap do |settings| commands.each { |command| command.call(settings) } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qonfig-0.1.0 | lib/qonfig/settings_builder.rb |