class MultiProcess::StringReceiver
Receiver
implementation storing process output in string.
Public Instance Methods
get(name)
click to toggle source
# File lib/multi_process/string_receiver.rb, line 10 def get(name) @strings ||= {} @strings[name.to_s] ||= '' end
received(_process, name, message)
click to toggle source
# File lib/multi_process/string_receiver.rb, line 6 def received(_process, name, message) get(name) << message end