SilentUI is a UI choice that is absolutely silent.
new() click to toggle source
The SilentUI has no arguments as it does not use any stream.
Calls superclass method Gem::StreamUI.new
# File lib/rubygems/user_interaction.rb, line 680 def initialize reader, writer = nil, nil begin reader = File.open('/dev/null', 'r') writer = File.open('/dev/null', 'w') rescue Errno::ENOENT reader = File.open('nul', 'r') writer = File.open('nul', 'w') end super reader, writer, writer, false end