Sha256: 93869ac49ae1739be9f588739e579c724e21ceeef6ba1bed43a3b1f51d9c4cb8
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
require 'ruby_version_reader' require 'rspec' require 'stringio' def capture_stdout capture = StringIO.new restore, $stdout = $stdout, capture yield $stdout = restore capture.string end def capture_stderr capture = StringIO.new restore, $stderr = $stderr, capture yield $stderr = restore capture.string end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_version_reader-0.2.0 | spec/spec_helper.rb |
ruby_version_reader-0.1.1 | spec/spec_helper.rb |
ruby_version_reader-0.1.0 | spec/spec_helper.rb |