Secrets
Secrets gets secrets using a hint character
with support for backspace.
Secrets.gets prompt: "Write your secrets: ", hint: "✕", empty_error: "Try again!"
Secrets.gets prompt: "password: "
Constants
VERSION = "0.1.2"
Instance methods
gets(prompt = "", hint = "*", empty_error : String | Nil = nil, retry : Int32 | Nil = nil)
Source