Skip to content

Instantly share code, notes, and snippets.

@jugyo
Created February 2, 2009 13:57
Show Gist options
  • Save jugyo/56918 to your computer and use it in GitHub Desktop.
Save jugyo/56918 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'highline'
ui = HighLine.new
username = ui.ask('Username: ')
password = ui.ask('Password: ') { |q| q.echo = false }
puts username
puts password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment