diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 23:30:51 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 23:30:51 -0300 |
commit | 059b00733a84d623aa4b8524d2811cf4a5067391 (patch) | |
tree | 0b85dbc95ab9fe169a88dd4dab7ed1ccce10fad5 /examples/repeat_entry.rb | |
parent | cac18ffe5905853e469213f2d0f3cb5085659e99 (diff) | |
download | highline-059b00733a84d623aa4b8524d2811cf4a5067391.tar.gz |
Replace $terminal to HighLine.default_instance
Diffstat (limited to 'examples/repeat_entry.rb')
-rw-r--r-- | examples/repeat_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/repeat_entry.rb b/examples/repeat_entry.rb index 553b7a6..5e67f7d 100644 --- a/examples/repeat_entry.rb +++ b/examples/repeat_entry.rb @@ -3,7 +3,7 @@ require "rubygems" require "highline/import" -puts "Using: #{$terminal.terminal.class}" +puts "Using: #{HighLine.default_instance.terminal.class}" puts tounge_twister = ask("... try saying that three times fast") do |q| |