End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::SilentUI.new
new
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/user_interaction.rb, line 618
def initialize
reader, writer = nil, nil
reader = File.open(IO::NULL, 'r')
writer = File.open(IO::NULL, 'w')
super reader, writer, writer, false
end
The SilentUI has no arguments as it does not use any stream.