aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/big_integer.rb
blob: b2c3ee50aa757044556b69579c2809150895ad09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require "active_model/type/integer"

module ActiveModel
  module Type
    class BigInteger < Integer # :nodoc:
      private
        def max_value
          ::Float::INFINITY
        end
    end
  end
end