class ActiveModel::AttributeSet

def [](name)

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

def []: (String name) -> (ActiveModel::Attribute::FromDatabase | ActiveModel::Attribute::FromUser)

This signature was generated using 4 samples from 1 application.

def [](name)
  @attributes[name] || default_attribute(name)
end