module Helper
wisemonkey oranbusiness@gmail.com 20190206 github.com/wisehackermonkey
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/helper.rb, line 12 def hide_password password = STDIN.noecho(&:gets).chomp end