From: Guglielmo Fachini Date: 2010-07-30T06:25:00+09:00 Subject: Re: how to read password from keyboard Bruno Sousa wrote: > Hi everyone! > > If I want to read a simple string from keyboard: > simple_text = gets > > What if a password needs to be read from keyboard (commando line)? > How do I mask it with asterisks? > > Regards, > Bruno This can help you: http://stackoverflow.com/questions/133719/how-to-read-a-password-in-ruby -- Posted via http://www.ruby-forum.com/.