Sha256: 96f8a50d6100411f8d0c0adb79efbfedcb26c022ca0ac425668fa19dba920aee
Contents?: true
Size: 768 Bytes
Versions: 1
Compression:
Stored size: 768 Bytes
Contents
# frozen_string_literal: true require "io/console" require "reline" require "fmt" require "rainbow" Fmt.add_rainbow_filters require_relative "prompts/version" require_relative "prompts/prompt" require_relative "prompts/text_utils" require_relative "prompts/content" require_relative "prompts/paragraph" require_relative "prompts/box" require_relative "prompts/pause_prompt" require_relative "prompts/confirm_prompt" require_relative "prompts/text_prompt" require_relative "prompts/select_prompt" require_relative "prompts/form" module Prompts EMPTY = "" SPACE = " " MAX_WIDTH = 80 OUTPUT = $stdout class Error < StandardError; end class << self def Form(&block) form = Prompts::Form.new yield(form) form.start end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prompts-0.2.1 | lib/prompts.rb |