Sha256: 40838d0da2333b9888330a7079716ef77c17963becc7fccd2d68611f3d2a9b41
Contents?: true
Size: 390 Bytes
Versions: 62
Compression:
Stored size: 390 Bytes
Contents
$LOAD_PATH.unshift File.expand_path( '../../lib', __FILE__ ) begin require 'minitest' rescue LoadError end require 'minitest/autorun' module CatchStdout def self.exec out = $stdout err = $stderr @result = StringIO.new $stdout = @result $stderr = @result yield ensure $stdout = out $stderr = err end def self.result @result.string end end
Version data entries
62 entries across 59 versions & 14 rubygems
Version | Path |
---|---|
ruby-maven-3.3.10 | spec/setup.rb |
ruby-maven-3.3.9 | spec/setup.rb |