Sha256: b3166e9baac75cc21700cff5e69b6503d123fd0ce3ba64123949f3e7329f4352
Contents?: true
Size: 335 Bytes
Versions: 40
Compression:
Stored size: 335 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'formatador' require 'rubygems' require 'shindo' require 'stringio' def capture_stdout old_stdout = $stdout new_stdout = StringIO.new $stdout = new_stdout yield $stdout = old_stdout new_stdout.string end
Version data entries
40 entries across 36 versions & 13 rubygems