instance method out_of_range?

Ruby on Rails 8.1.2

Since v8.1.2 Private

Signature

out_of_range?(value)

No documentation comment.

Parameters

value req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close