piotrmurach/tty-prompt

View on GitHub
examples/multiline.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require_relative "../lib/tty-prompt"

prompt = TTY::Prompt.new

answer = prompt.multiline("Description:")

puts "Answer: #{answer.inspect}"