aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/big_integer.rb
blob: 89e43bcc5f14ca6c03120719e095f60f7b09dde2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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