Build Status Code Climate

zchannel.rb

zchannel is an easy to use library for sending Ruby objects between processes.

Examples

1.

ch = ZChannel.unix Marshal
Process.wait fork { ch.send "Hello, world!" }
ch.recv # => "Hello, world!"

2.

ch = ZChannel.unix JSON
Process.wait fork { ch.send [1,2,3] }
ch.recv # => [1,2,3]

Install

git clone https://github.com/r-obert/zchannel.rb.git
cd zchannel.rb
gem build zchannel.gemspec
gem install *.gem

Links