lib/tty/prompt/mask_question.rb in tty-prompt-0.16.0 vs lib/tty/prompt/mask_question.rb in tty-prompt-0.16.1
- old
+ new
@@ -16,10 +16,9 @@
def initialize(prompt, options = {})
super
@mask = options.fetch(:mask) { Symbols.symbols[:dot] }
@done_masked = false
@failure = false
- @prompt.subscribe(self)
end
# Set character for masking the STDIN input
#
# @param [String] char