aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/algebra/attributes/integer.rb
blob: 9a564565ff04df9bcddb9b5ee3b85ea36633664f (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                        
module Arel
  module Attributes
    class Integer < Attribute
      def type_cast(val)
        type_cast_to_numeric(val, :to_i)
      end
    end
  end
end