class FactoryBot::AttributeAssigner

def object

Experimental RBS support (using type sampling data from the type_fusion project).

def object: () -> (Types::Sample | Worker)

This signature was generated using 2 samples from 2 applications.

def object
  @evaluator.instance = build_class_instance
  build_class_instance.tap do |instance|
    attributes_to_set_on_instance.each do |attribute|
      instance.public_send("#{attribute}=", get(attribute))
      @attribute_names_assigned << attribute
    end
  end
end