Sha256: b9c1034653f14df0ab8dca66dbdac3e27fe8996261d7284c86e9d60239fd6fbf
Contents?: true
Size: 330 Bytes
Versions: 62
Compression:
Stored size: 330 Bytes
Contents
module Workarea module Catalog class CleanDetails def initialize(dirty) @dirty = dirty end def cleaned tuples = @dirty.map do |key, value| next if key.blank? || value.blank? [key, Array.wrap(value)] end Hash[tuples.compact] end end end end
Version data entries
62 entries across 62 versions & 1 rubygems