summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFabien Foerster <fabienfoerster@gmail.com>2016-01-09 16:14:58 +0100
committerFabien Foerster <fabienfoerster@gmail.com>2016-01-09 16:14:58 +0100
commit465e20c2b710c3445d1848bbf2c0aa84ebf7ceaf (patch)
tree61f42d50b1209c3791e8a85b55f2ab2dcdeaf525 /README.md
parent0b4ea46ac523cab2a5aa58cff51ab2b93747252d (diff)
downloadhighline-465e20c2b710c3445d1848bbf2c0aa84ebf7ceaf.tar.gz
Fix menu example in README.md
Diffstat (limited to '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
```