Sha256: 017bc57df9169c59dfbbc576b1cf30b9b147429cb7f37fac252bf8196608db25

Contents?: true

Size: 152 Bytes

Versions: 9

Compression:

Stored size: 152 Bytes

Contents

# encoding: utf-8

require 'tty-prompt'

prompt = TTY::Prompt.new

alfabet = ('A'..'Z').to_a

prompt.enum_select('Which letter?', alfabet, per_page: 4)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
tty-prompt-0.13.2 examples/enum_paged.rb
tty-prompt-0.13.1 examples/enum_paged.rb
tty-prompt-0.13.0 examples/enum_paged.rb
austb-tty-prompt-0.13.0 examples/enum_paged.rb
tty-prompt-0.12.0 examples/enum_paged.rb
tty-prompt-0.11.0 examples/enum_paged.rb
tty-prompt-0.10.1 examples/enum_paged.rb
tty-prompt-0.10.0 examples/enum_paged.rb
tty-prompt-0.9.0 examples/enum_paged.rb