diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 22:31:45 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-29 22:31:45 -0300 |
commit | ca137ba8e89789140eeb5c362536904cd51374eb (patch) | |
tree | 069eef3278267c4b002cb37f9c73cb4164d9f261 /lib/highline.rb | |
parent | 9ace6a3c7481d06215e29a32101c898be4ed2e23 (diff) | |
download | highline-ca137ba8e89789140eeb5c362536904cd51374eb.tar.gz |
Better to take this out of class definition
Diffstat (limited to 'lib/highline.rb')
-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 e09429e..190f8b1 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -644,8 +644,8 @@ class HighLine def actual_length(text) Wrapper.actual_length text end - - @default_instance = new end +HighLine.default_instance = HighLine.new + require "highline/string" |