class ProcessExecuter::MonitoredPipe
def write_data(data)
- Api: - private
Returns:
-
(void)
-
Parameters:
-
data
(String
) -- the data read from the pipe
def write_data(data) writers.each do |w| file_descriptor?(w) ? write_data_to_fd(w, data) : w.write(data) end rescue StandardError => e @exception = e @state = :closing end