Sha256: c9d68fc872bd1ca890c04a9be0c397a1124b10c457e0719a8112131e599e9217
Contents?: true
Size: 359 Bytes
Versions: 70
Compression:
Stored size: 359 Bytes
Contents
# require "eitil_integrate/application_exporter/auto_sum/reduce_data" module EitilIntegrate::RubyXL module AutoSum class << self def reduce_data drop_multi_class_arrays end def drop_multi_class_arrays @hash.transform_values! { |array| array.map(&:class).uniq.length == 1 ? array : [] } end end end end
Version data entries
70 entries across 70 versions & 1 rubygems