Sha256: 6b3b229e1bc9f459621bc62b64cee451d01872a145a81778076e4dadeff15d9a
Contents?: true
Size: 785 Bytes
Versions: 2
Compression:
Stored size: 785 Bytes
Contents
# frozen_string_literal: true require "io/console" require "reline" require "rainbow" # this needs to come before require "fmt" require "fmt" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prompts-0.3.1 | lib/prompts.rb |
prompts-0.3.0 | lib/prompts.rb |