class FactoryBot::AttributeList

def attribute_defined?(attribute_name)

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

def attribute_defined?: (Symbol attribute_name) -> false

This signature was generated using 6 samples from 1 application.

def attribute_defined?(attribute_name)
  @attributes.any? do |attribute|
    attribute.name == attribute_name
  end
end