Sha256: 4320df44ad85fbc841621f3071a2eb85fbcd0032423e457a5389ea8a6306570a

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

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