summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2016-01-09 12:33:27 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2016-01-09 12:33:27 -0300
commit446ceb184dbfffbd83bd25edb15bcee3e630b3e4 (patch)
tree61f42d50b1209c3791e8a85b55f2ab2dcdeaf525
parent0b4ea46ac523cab2a5aa58cff51ab2b93747252d (diff)
parent465e20c2b710c3445d1848bbf2c0aa84ebf7ceaf (diff)
downloadhighline-446ceb184dbfffbd83bd25edb15bcee3e630b3e4.tar.gz
Merge pull request #183 from fabienfoerster/patch-1
Fix menu example in README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index be0d2eb..0704276 100644
--- a/README.md
+++ b/README.md
@@ -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
```