Sha256: 14e7279b9cd579759cecc68f27c75978aa781a0a0f280a99648ce7e6319ee51f
Contents?: true
Size: 249 Bytes
Versions: 27
Compression:
Stored size: 249 Bytes
Contents
module Shipit module CSVSerializer extend self def load(payload) return [] if payload.blank? payload.split(',') end def dump(array) return nil if array.blank? Array.wrap(array).join(',') end end end
Version data entries
27 entries across 27 versions & 1 rubygems