Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ViugiNick committed Jul 5, 2017
1 parent 1fc3911 commit 50b61a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby-debug-ide/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def timeout(sec)
def debug_eval(str, b = get_binding)
begin
str = str.to_s
str.force_encoding('UTF-8') if(RUBY_VERSION > 2.0)
str.force_encoding('UTF-8') if(RUBY_VERSION > '2.0')
to_inspect = Command.unescape_incoming(str)
max_time = Debugger.evaluation_timeout
@printer.print_debug("Evaluating %s with timeout after %i sec", str, max_time)
Expand Down

0 comments on commit 50b61a4

Please sign in to comment.