Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/io/console.rb
Original file line number Diff line number Diff line change
@@ -190,7 +190,7 @@ def self.console(sym = nil)
nil
end
end
else
elsif RbConfig::CONFIG['host_os'] !~ /(mswin)|(win32)|(ming)/
result = begin
old_stderr = $stderr.dup
$stderr.reopen('/dev/null')

0 comments on commit 876235e

Please sign in to comment.