Sha256: faa26874cc1431a3b6ec0e040cf8774d46115ec0ed70b676d7d4361794561930
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 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 = "".freeze SPACE = " ".freeze 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.0 | lib/prompts.rb |