aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/lib/active_model/type/big_integer.rb
blob: d080fcc0f2d4166ec8362f63dc58361e553226c6 (plain) (tree)
1
2
3
4
5
6
7
8
9

                             
                          
 
                  



                                        


                           


       
# frozen_string_literal: true

require_relative "integer"

module ActiveModel
  module Type
    class BigInteger < Integer # :nodoc:
      private

        def max_value
          ::Float::INFINITY
        end
    end
  end
end