Sha256: b34256d7c2c9d1a4f5c633de7ee1ce502932faf22f2376ae9b6c621c4474200c
Contents?: true
Size: 235 Bytes
Versions: 4
Compression:
Stored size: 235 Bytes
Contents
module JsonParser::TypeCast extend ActiveSupport::Concern def to_integer(value) value.to_i if value.present? end def to_string(value) value.to_s end def to_float(value) value.to_f if value.present? end end
Version data entries
4 entries across 4 versions & 1 rubygems