lib/prompts/text_prompt.rb in prompts-0.2.0 vs lib/prompts/text_prompt.rb in prompts-0.2.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Prompts
class TextPrompt < Prompt
def initialize(...)
- super(...)
+ super
@instructions = "Press Enter to submit"
@hint ||= "Type your response and press Enter ⏎"
end
end