aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/big_integer.rb
blob: 6829736cffe25aa1498994a5845b1578c03b82cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "active_model/type/integer"

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

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