From 11f410aedb166861b1e4330193c3b1701d461cf9 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Thu, 29 Jun 2017 03:51:27 -0300 Subject: [PATCH] Update documentation about highline/import and $terminal --- lib/highline/import.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/highline/import.rb b/lib/highline/import.rb index c093a74b..1459e7a9 100644 --- a/lib/highline/import.rb +++ b/lib/highline/import.rb @@ -14,11 +14,11 @@ # require "highline/import" 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 $terminal, which is initialized to use -# $stdin and $stdout (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 $stdin and $stdout (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