Method: Cod.pipe

Defined in:
lib/cod.rb

.pipe(serializer = nil) ⇒ Cod::Pipe

Creates a pipe connection that is visible to this process and its children.

Parameters:

  • serializer (#en, #de) (defaults to: nil)

    optional serializer to use

Returns:



63
64
65
# File 'lib/cod.rb', line 63

def pipe(serializer=nil)
  Cod::Pipe.new(serializer)
end