Sha256: f571cf7ec3318cf3b9020ea7ca03e9cb3a5ccf0b927145d956e6a0d37eb811ad
Contents?: true
Size: 254 Bytes
Versions: 13
Compression:
Stored size: 254 Bytes
Contents
module Superstore module Types class FloatType < BaseType def encode(float) float end def decode(str) str.to_f unless str.empty? end def typecast(value) value.to_f end end end end
Version data entries
13 entries across 13 versions & 1 rubygems