Method: Hanami::Model::Configurator.build
- Defined in:
- lib/hanami/model/configurator.rb
.build(&block) ⇒ Object
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.
40 41 42 |
# File 'lib/hanami/model/configurator.rb', line 40 def self.build(&block) new.tap { |config| config.instance_eval(&block) } end |