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