instance method
out_of_range?
Ruby on Rails 8.1.2
Since v8.1.2 PrivateSignature
out_of_range?(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activemodel/lib/active_model/type/integer.rb, line 104
def out_of_range?(value)
value && (@max <= value || @min > value)
end
Defined in activemodel/lib/active_model/type/integer.rb line 104
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Type::Integer