class ActiveModel::Type::Integer

def deserialize(value)

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

def deserialize: (Integer? value) -> Integer?

This signature was generated using 34 samples from 2 applications.

def deserialize(value)
  return if value.blank?
  value.to_i
end