method

is_integer?

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveModel::Validations::NumericalityValidator
is_integer?(raw_value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/numericality.rb, line 79
      def is_integer?(raw_value)
        /\A[+-]?\d+\z/ === raw_value.to_s
      end
Register or log in to add new notes.