Sha256: 180b1d851d3fdfeefb2883c2c29ae9b5dc1c27328ca12af337a720e196472ede
Contents?: true
Size: 304 Bytes
Versions: 78
Compression:
Stored size: 304 Bytes
Contents
require 'bigdecimal' require 'bigdecimal/util' require 'csv' module FeCoreExt::CoreExt end module FeCoreExt::CoreExt::CSV end class CSV #include FeCoreExt::CoreExt::CSV Converters[:decimal] = lambda do |field| begin Float(field) field.to_d rescue field end end end
Version data entries
78 entries across 78 versions & 1 rubygems