lib/rspec/support/spec/with_isolated_stderr.rb
module RSpec module Support module WithIsolatedStdErr def with_isolated_stderr original = $stderr $stderr = StringIO.new yield ensure $stderr = original end end end end
module RSpec module Support module WithIsolatedStdErr def with_isolated_stderr original = $stderr $stderr = StringIO.new yield ensure $stderr = original end end end end