Class
SilentUI
is a UI choice that is absolutely silent.
Class Methods
::
lib/rubygems/user_interaction.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rubygems/user_interaction.rb, line 683
def initialize
reader, writer = nil, nil
reader = File.open(Gem::Util::NULL_DEVICE, 'r')
writer = File.open(Gem::Util::NULL_DEVICE, 'w')
super reader, writer, writer, false
end
The SilentUI
has no arguments as it does not use any stream.
Instance Methods
#
lib/rubygems/user_interaction.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rubygems/user_interaction.rb, line 692
def close
super
@ins.close
@outs.close
end
No documentation available