summaryrefslogtreecommitdiff
path: root/examples/menus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/menus.rb')
-rw-r--r--examples/menus.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/menus.rb b/examples/menus.rb
index ffa63bf..c925c07 100644
--- a/examples/menus.rb
+++ b/examples/menus.rb
@@ -26,6 +26,9 @@ choose do |menu|
menu.choice :ruby do say("Good choice!") end
menu.choices(:python, :perl) do say("Not from around here, are you?") end
+
+ menu.default = :ruby
+
end
say("\nThis is letter indexing...")