Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Small framework to simplify process-to-process communication.

tag: r0.4.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

IPC for babies and those who want to become. Another thin API layer over what
Ruby offers for IO.pipe, TCP sockets and FIFOs: Makes sending and receiving
of Ruby objects a breeze. 

A good place to start is the documentation for the Cod module.


  # Cod's basic elements are channels, unidirectional communication links. 
  pipe = Cod.pipe
  # You can use those either directly: 
  pipe.put :some_ruby_object        # Process A
  pipe.get # => :some_ruby_object   # Process B
  # Or use them as bricks for more: 
  service = beanstalk.service
  client  = beanstalk.client(pipe) { |msg| :response }               # Process A :ruby_object    # => :response    # Process B

Complete rewrite of the code: Did away with some of the complexities that
stemmed from early design work. The functionality that is there is much like
that we had before, but some things have been designed more logically. 

At version 0.4.0

(c) 2011 Kaspar Schiess
Something went wrong with that request. Please try again.