Sha256: 5ac8244aafa1f1f2db3462c53482885726618165ee80e2eb3e4119da63f530fb

Contents?: true

Size: 116 Bytes

Versions: 7

Compression:

Stored size: 116 Bytes

Contents

# encoding: utf-8

require_relative "../lib/tty-prompt"

prompt = TTY::Prompt.new

prompt.yes?('Do you like Ruby?')

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tty-prompt-0.17.2 examples/yes_no.rb
tty-prompt-0.17.1 examples/yes_no.rb
tty-prompt-0.17.0 examples/yes_no.rb
tty-prompt-0.16.1 examples/yes_no.rb
tty-prompt-0.16.0 examples/yes_no.rb
tty-prompt-0.15.0 examples/yes_no.rb
tty-prompt-0.14.0 examples/yes_no.rb