diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-17 19:09:50 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-17 19:09:53 -0300 |
commit | 85f0c933f6ac5de94824cfb7a6d4444e435e3456 (patch) | |
tree | e7f5f1489475e681fadee14d85dc4218f39eed0f /examples/menus.rb | |
parent | b336e2fe3535225142215e33ad9f6ffa2b7a6eb4 (diff) | |
download | highline-85f0c933f6ac5de94824cfb7a6d4444e435e3456.tar.gz |
Advertise what Terminal class in use at tests and examples
So one could easily figure out if the "auto-detection"
is not working.
Diffstat (limited to 'examples/menus.rb')
-rw-r--r-- | examples/menus.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/menus.rb b/examples/menus.rb index c2bd5e3..ffa63bf 100644 --- a/examples/menus.rb +++ b/examples/menus.rb @@ -3,6 +3,9 @@ require "rubygems" require "highline/import" +puts "Using: #{$terminal.terminal.class}" +puts + # The old way, using ask() and say()... choices = %w{ruby python perl} say("This is the old way using ask() and say()...") |