class

FactoryBot::DeclarationList

Inherits Reference < Object

Constructors

new(name : String | Nil)

Instance methods

attributes(definition : Definition) : AttributeList

Разворачивает декларации в атрибуты (Implicit разрешает ассоциации по реестрам и наследует трейты). Как в оригинале — через define_attribute (проверки дубликата и самореференса).

declare_attribute(declaration : Declaration) : Nil
name
overridable
to_a