Sha256: fa0d633597b39bd57c3747c77ede0c52d54d6b8cfab48b9825350ef6aa9e2315

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 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

1 entries across 1 versions & 1 rubygems

Version Path
prompts-0.2.0 lib/prompts/text_prompt.rb