Sha256: 5305e9b1babe3a566bb7a4eef03346b0ec4eccced0925f5163c78acdc58b5a00

Contents?: true

Size: 363 Bytes

Versions: 8

Compression:

Stored size: 363 Bytes

Contents

#!/usr/bin/env ruby
# See docs/dispatch.md for more information.

require_relative '../lib/hoosegow'

real_stdout = $stdout.dup
real_stdout.sync = true
intercepted_stdout, intercepting_stdout = IO.pipe # returns reader,writer
$stdout.reopen(intercepting_stdout)

Hoosegow::Protocol::Inmate.run({
  :stdout => real_stdout,
  :intercepted => intercepted_stdout,
})

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hoosegow-1.2.7 bin/hoosegow
hoosegow-1.2.6 bin/hoosegow
hoosegow-1.2.5 bin/hoosegow
hoosegow-1.2.4 bin/hoosegow
hoosegow-1.2.3 bin/hoosegow
hoosegow-1.2.2 bin/hoosegow
hoosegow-1.2.1 bin/hoosegow
hoosegow-1.2.0 bin/hoosegow