method
is_integer?
v7.1.3.4 -
Show latest stable
- Class:
ActiveModel::Validations::NumericalityValidator
is_integer?(raw_value)private
No documentation available.
# File activemodel/lib/active_model/validations/numericality.rb, line 104
def is_integer?(raw_value)
INTEGER_REGEX.match?(raw_value.to_s)
end