method

max_value

rails latest stable - Class: ActiveModel::Type::Integer
max_value()
private

No documentation available.

# 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