class Object

Public Instance Methods

hide_password() click to toggle source

Hides users password to when typed into shell Source stackoverflow.com/questions/2338889/how-to-hide-password-input-from-terminal-in-ruby-script

# File lib/github/create.rb, line 11
def hide_password
  password = STDIN.noecho(&:gets).chomp
end