method
allow_only_integer?
v7.1.3.4 -
Show latest stable
- Class:
ActiveModel::Validations::NumericalityValidator
allow_only_integer?(record)private
No documentation available.
# File activemodel/lib/active_model/validations/numericality.rb, line 118
def allow_only_integer?(record)
resolve_value(record, options[:only_integer])
end