Ruby $stdin.gets without showing chars on screen

Viewed 8323

I want to ask users to type in a password, but I don't want the chars to appear on screen as they type.

How do I do this in Ruby?

6 Answers
Related