diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 02:14:05 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 02:14:05 -0300 |
commit | 4119e3eb2d09cc1243d63e69755e768b407da1a5 (patch) | |
tree | dfb97af891e74b0681bd2e18eb3c08be34bd72ab | |
parent | cee967f6b11372b63840b594a5089d4c182039ac (diff) | |
download | highline-4119e3eb2d09cc1243d63e69755e768b407da1a5.tar.gz |
Delegate track_eof? to default_instance
-rwxr-xr-x | lib/highline.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/highline.rb b/lib/highline.rb index a66e8aa..bda257e 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -78,12 +78,12 @@ class HighLine # Returns true if HighLine is currently tracking EOF for input. def self.track_eof? - @track_eof + default_instance.track_eof? end # (see HighLine.track_eof?) def track_eof? - self.class.track_eof? + @track_eof end # The setting used to control color schemes. |