Method: Mutant::Parallel::Connection.from_pipes
- Defined in:
- lib/mutant/parallel/connection.rb
.from_pipes(marshal:, reader:, writer:) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
169 170 171 172 173 174 175 |
# File 'lib/mutant/parallel/connection.rb', line 169 def self.from_pipes(marshal:, reader:, writer:) new( marshal:, reader: Frame.new(io: reader.to_reader), writer: Frame.new(io: writer.to_writer) ) end |