class ActiveModel::Type::Integer
def cast_value(value)
Experimental RBS support (using type sampling data from the type_fusion
project).
def cast_value: (Integer value) -> Integer
This signature was generated using 3 samples from 1 application.
def cast_value(value) value.to_i rescue nil end