Sha256: 87c14f9c67096713014527ff69ea561ff4f7b5e49cae4c06c39c1f111d3f26ae
Contents?: true
Size: 421 Bytes
Versions: 6
Compression:
Stored size: 421 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' class IO def tty? true end end class StringIO def tty? true end end def capture_stdout old_stdout = $stdout new_stdout = StringIO.new $stdout = new_stdout yield $stdout = old_stdout new_stdout.string end
Version data entries
6 entries across 6 versions & 3 rubygems