class FactoryBot::DeclarationList

def attributes

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

def attributes: () -> FactoryBot::AttributeList

This signature was generated using 4 samples from 1 application.

def attributes
  @attributes ||= AttributeList.new(@name).tap do |list|
    to_attributes.each do |attribute|
      list.define_attribute(attribute)
    end
  end
end