diff options
author | Frederico <fred.rbittencourt@gmail.com> | 2016-07-11 00:46:26 -0300 |
---|---|---|
committer | Frederico <fred.rbittencourt@gmail.com> | 2016-07-11 02:20:32 -0300 |
commit | abc1951a97d67e1c60e40c068d83ff1d932df7f3 (patch) | |
tree | 91e604968a30c9cc155637cf24859c4631d25c9a /README.md | |
parent | 813b510debf9b63aa309b95a8a7857ff12aa9327 (diff) | |
download | highline-abc1951a97d67e1c60e40c068d83ff1d932df7f3.tar.gz |
use default in readme example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -74,6 +74,7 @@ cli.choose do |menu| menu.prompt = "Please choose your favorite programming language? " menu.choice(:ruby) { cli.say("Good choice!") } menu.choices(:python, :perl) { cli.say("Not from around here, are you?") } + menu.default = :ruby end ## Using colored indices on Menus |