method

max_value

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Integer
max_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/type/integer.rb, line 100
        def max_value
          1 << (_limit * 8 - 1) # 8 bits per byte with one bit for sign
        end
Register or log in to add new notes.