diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 03:51:27 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 03:52:19 -0300 |
commit | 11f410aedb166861b1e4330193c3b1701d461cf9 (patch) | |
tree | 9aaf410d05c4fcef2ce78411f8f69306a3c801b0 | |
parent | 07a9de4f2dd33e76a4e5a62c37de5a912bb618dc (diff) | |
download | highline-11f410aedb166861b1e4330193c3b1701d461cf9.tar.gz |
Update documentation about highline/import and $terminal
-rw-r--r-- | lib/highline/import.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/highline/import.rb b/lib/highline/import.rb index c093a74..1459e7a 100644 --- a/lib/highline/import.rb +++ b/lib/highline/import.rb @@ -14,11 +14,11 @@ require "forwardable" # <tt>require "highline/import"</tt> adds shortcut methods to Kernel, making # {HighLine#agree}, {HighLine#ask}, {HighLine#choose} and {HighLine#say} # globally available. This is handy for -# quick and dirty input and output. These methods use the HighLine object in -# the global variable <tt>$terminal</tt>, which is initialized to use -# <tt>$stdin</tt> and <tt>$stdout</tt> (you are free to change this). -# Otherwise, these methods are identical to their {HighLine} counterparts, see that -# class for detailed explanations. +# quick and dirty input and output. These methods use HighLine.default_instance +# which is initialized to use <tt>$stdin</tt> and <tt>$stdout</tt> (you are free +# to change this). +# Otherwise, these methods are identical to their {HighLine} counterparts, +# see that class for detailed explanations. # module Kernel extend Forwardable |