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(data_set) ⇒ 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.
12 13 14 15 16 17 18 |
# File 'lib/qonfig/settings/builder.rb', line 12 def build(data_set) Qonfig::Settings.new(build_mutation_callbacks(data_set)).tap do |settings| data_set.class.commands.dup.each do |command| command.call(data_set, settings) end end end |