This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
ask_for_password_on_unix()
public
Asks for a password that works on unix
# File lib/rubygems/user_interaction.rb, line 276
def ask_for_password_on_unix
return nil if not tty?
system "stty -echo"
password = @ins.gets
password.chomp! if password
system "stty echo"
password
end