Sha256: 17069c3a84f288a4ba7728180f6b59777dc219bdfad88c08df1dea16461abb05
Contents?: true
Size: 278 Bytes
Versions: 8
Compression:
Stored size: 278 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__)) module NsOptions module TestOutput module_function def capture out = "" io = StringIO.new(out) $stdout = io yield return out ensure $stdout = STDOUT end end end
Version data entries
8 entries across 8 versions & 1 rubygems