class FactoryBot::Syntax::Default::ModifyDSL
def self.run(block)
def self.run(block) new.instance_eval(&block) end
def factory(name, _options = {}, &block)
def factory(name, _options = {}, &block) factory = Internal.factory_by_name(name) proxy = FactoryBot::DefinitionProxy.new(factory.definition.overridable) proxy.instance_eval(&block) end