RubyGems.org

magritte

0.5.8

Magritte is a simple but powerful wrapper to Open3 pipes that makes it easy to handle two-way piping of data into and out of a sub-process. Various input IO wrappers are supported and output can either be to an IO or to a block. A simple line buffer class is also provided, to turn block writes to the output block into line-by-line output to make interacting with the sub-process easier.

installgem install magritte
Authors

Karl Matthias

2,727 total downloads 612 for this version
Owners

5abbfc658e30ee14d25fd63fabed6d87

Gemfile
gem 'magritte', '~> 0.5.8'
Versions
  1. 0.5.8 July 8, 2013 (121 KB)
  2. 0.5.7 June 7, 2013 (121 KB)
  3. 0.5.6 May 21, 2013 (8 KB)
  4. 0.5.5 May 12, 2013 (8 KB)
  5. 0.5.0 May 11, 2013 (7.5 KB)
Development Dependencies
  1. rake >= 0
  2. rspec >= 2.0.0