Sha256: 48cb2cba633123d424a935ee6b82e6eab081ece033a74fb60f87147a0e7c3d2f

Contents?: true

Size: 144 Bytes

Versions: 5

Compression:

Stored size: 144 Bytes

Contents

# encoding: utf-8

require 'tty-prompt'

prompt = TTY::Prompt::new

answer = prompt.multiline("Description:")

puts "Answer: #{answer.inspect}"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tty-prompt-0.13.2 examples/multiline.rb
tty-prompt-0.13.1 examples/multiline.rb
tty-prompt-0.13.0 examples/multiline.rb
austb-tty-prompt-0.13.0 examples/multiline.rb
tty-prompt-0.12.0 examples/multiline.rb