Sha256: 74a143c14b5e9e44b7696da7248477ef633cea056e9a9015f3f9847586adadde
Contents?: true
Size: 293 Bytes
Versions: 6
Compression:
Stored size: 293 Bytes
Contents
module MultiProcess # Receiver implementation storing process output # in string. # class StringReceiver < Receiver def received(_process, name, message) get(name) << message end def get(name) @strings ||= {} @strings[name.to_s] ||= '' end end end
Version data entries
6 entries across 6 versions & 1 rubygems