Skip to content

Commit

Permalink
Better to take this out of class definition
Browse files Browse the repository at this point in the history
  • Loading branch information
abinoam committed Jun 30, 2017
1 parent 9ace6a3 commit ca137ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/highline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,8 @@ def erase_current_line
def actual_length(text)
Wrapper.actual_length text
end

@default_instance = new
end

HighLine.default_instance = HighLine.new

require "highline/string"

0 comments on commit ca137ba

Please sign in to comment.