summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFrederico <fred.rbittencourt@gmail.com>2016-07-11 00:46:26 -0300
committerFrederico <fred.rbittencourt@gmail.com>2016-07-11 02:20:32 -0300
commitabc1951a97d67e1c60e40c068d83ff1d932df7f3 (patch)
tree91e604968a30c9cc155637cf24859c4631d25c9a /README.md
parent813b510debf9b63aa309b95a8a7857ff12aa9327 (diff)
downloadhighline-abc1951a97d67e1c60e40c068d83ff1d932df7f3.tar.gz
use default in readme example
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0b4b258..5588cbc 100644
--- a/README.md
+++ b/README.md
@@ -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