class ActiveModel::AttributeSet
def [](name)
Experimental RBS support (using type sampling data from the type_fusion
project).
type ActiveModel__AttributeSet_[]_return_value = ActiveModel::Attribute::FromUser | ActiveModel::Attribute::FromDatabase | ActiveModel::Attribute::WithCastValue | ActiveModel::Attribute::UserProvidedDefault def []: (String name) -> ActiveModel__AttributeSet_[]_return_value
This signature was generated using 133 samples from 2 applications.
def [](name) @attributes[name] || default_attribute(name) end