Sha256: 85a59e35440db194a905b8ffcf3e55ad1f3b3ecc4090c0e8583bc1fa77c0bef4

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

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

      @prompt = "Press Enter ⏎ to continue..."
    end

    def resolve_choice_from(response)
      true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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