class Gist::Helpers
Helper methods for getting input
Public Class Methods
get_password(prompt = 'Password: ')
click to toggle source
Method to wrap a highline call to hide a passworded input
# File lib/gist/helpers.rb, line 5 def self.get_password(prompt = 'Password: ') ask(prompt) { |q| q.echo = false } end