diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2016-01-09 12:33:27 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2016-01-09 12:33:27 -0300 |
commit | 446ceb184dbfffbd83bd25edb15bcee3e630b3e4 (patch) | |
tree | 61f42d50b1209c3791e8a85b55f2ab2dcdeaf525 | |
parent | 0b4ea46ac523cab2a5aa58cff51ab2b93747252d (diff) | |
parent | 465e20c2b710c3445d1848bbf2c0aa84ebf7ceaf (diff) | |
download | highline-446ceb184dbfffbd83bd25edb15bcee3e630b3e4.tar.gz |
Merge pull request #183 from fabienfoerster/patch-1
Fix menu example in README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ cli.say("This should be <%= color('bold', BOLD) %>!") cli.choose do |menu| menu.prompt = "Please choose your favorite programming language? " - menu.choice(:ruby) { say("Good choice!") } - menu.choices(:python, :perl) { say("Not from around here, are you?") } + menu.choice(:ruby) { cli.say("Good choice!") } + menu.choices(:python, :perl) { cli.say("Not from around here, are you?") } end ``` |