class ActiveModel::AttributeSet
def write_from_user(name, value)
Experimental RBS support (using type sampling data from the type_fusion
project).
def write_from_user: (String name, (String | nil | Time) value) -> (String | nil | Time)
This signature was generated using 24 samples from 1 application.
def write_from_user(name, value) raise FrozenError, "can't modify frozen attributes" if frozen? @attributes[name] = self[name].with_value_from_user(value) value end