Registry / testing / io-grab

io-grab

JSON →
library0.0.2rbrubygemsunverified

Adds #grab method to IO, which permits capturing all writes to that IO.

gem install io-grab
INSTALL
IMPORT
SIG · IO-GRAB
I
io-grab
testingrubyv0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IO
require 'io-grab'

Capture IO output

require 'io-grab' output = StringIO.new.grab { puts 'hello' } puts output.string
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
io-grab — gem install io-grab · libregistry