summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-29 22:31:45 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-29 22:31:45 -0300
commitca137ba8e89789140eeb5c362536904cd51374eb (patch)
tree069eef3278267c4b002cb37f9c73cb4164d9f261
parent9ace6a3c7481d06215e29a32101c898be4ed2e23 (diff)
downloadhighline-ca137ba8e89789140eeb5c362536904cd51374eb.tar.gz
Better to take this out of class definition
-rwxr-xr-xlib/highline.rb4
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"