class ActiveModel::Type::Value

def deserialize(value)

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

def deserialize: ((nil | Integer | Float) value) -> (nil | Integer | Float)

This signature was generated using 4 samples from 1 application.

+value+ The raw input, as provided from the database.

implementation just calls Value#cast.
ActiveRecord::AttributeMethods::Read#read_attribute. The default
return value of this method will be returned from
Converts a value from database input to the appropriate ruby type. The
def deserialize(value)
  cast(value)
end