Method: FactoryBot::Configuration#initialize_with

Defined in:
lib/factory_bot/configuration.rb

#initialize_with(&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.



29
30
31
# File 'lib/factory_bot/configuration.rb', line 29

def initialize_with(&block)
  @definition.define_constructor(&block)
end