Sha256: 07b435eedd2ad16473fee3fcf2123dd2e38868c50950745e3d5520c87a5ab395
Contents?: true
Size: 413 Bytes
Versions: 31
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true require 'tty-prompt' module Uffizzi module UI class Prompt def initialize @prompt = TTY::Prompt.new end def select(question, choices) @prompt.select(question, choices) end def ask(message, **args) @prompt.ask(message, **args) end def yes?(message) @prompt.yes?(message) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems