Sha256: eb7fd5fdcb3669088eac1564aecfccde57290b8b4a70ef6022b3982362768b07

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

module Prompts
  class TextPrompt < Prompt
    def initialize(...)
      super

      @instructions = "Press Enter to submit"
      @hint ||= "Type your response and press Enter ⏎"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prompts-0.3.1 lib/prompts/text_prompt.rb
prompts-0.3.0 lib/prompts/text_prompt.rb
prompts-0.2.1 lib/prompts/text_prompt.rb