Password field

Discussion in 'Ruby' started by daniel@themissingyard.net, Jul 19, 2005.

  1. Guest

    Hi,

    Is there any way I can turn echo off for the console from Ruby, in a
    platform independent manner, or otherwise mask entered characters?

    Thanks,

    jogloran
     
    , Jul 19, 2005
    #1
    1. Advertising

  2. Stefan Lang Guest

    On Tuesday 19 July 2005 07:31, wrote:
    > Hi,
    >
    > Is there any way I can turn echo off for the console from Ruby, in a
    > platform independent manner, or otherwise mask entered characters?
    >
    > Thanks,
    >
    > jogloran


    Use Highline, it does the job very well. Download it from Rubyforge
    or install with rubygems:
    % gem install highline

    --
    Stefan
     
    Stefan Lang, Jul 19, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page