class FactoryBot::AttributeList

def associations

def associations
  AttributeList.new(@name, select(&:association?))
end