Module: Qonfig::Settings::Builder Private
- Defined in:
- lib/qonfig/settings/builder.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Class Method Details
.build(commands) ⇒ Qonfig::Settings
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 17 18 |
# File 'lib/qonfig/settings/builder.rb', line 14 def build(commands) Qonfig::Settings.new.tap do |settings| commands.each { |command| command.call(settings) } end end |