Sha256: ee46582b319f285300e0caf47cf20c4d1003a7cc18f537aebf501a7c5c5b3c62
Contents?: true
Size: 348 Bytes
Versions: 102
Compression:
Stored size: 348 Bytes
Contents
module Kernel #----------------------------------------------------------------------------- # Utilities def capture out = StringIO.new $stdout = out error = StringIO.new $stderr = error # Go do stuff! yield return out, error ensure $stdout = STDOUT $stderr = STDERR end end
Version data entries
102 entries across 102 versions & 6 rubygems