method
allow_only_integer?
v8.1.1 -
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