From 50b61a4d414cae63841aa6daaa77fc63fa583396 Mon Sep 17 00:00:00 2001 From: Viuginov Nickolay Date: Wed, 5 Jul 2017 11:46:19 +0300 Subject: [PATCH] cleanup --- lib/ruby-debug-ide/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ruby-debug-ide/command.rb b/lib/ruby-debug-ide/command.rb index 4d4f732..5f099be 100644 --- a/lib/ruby-debug-ide/command.rb +++ b/lib/ruby-debug-ide/command.rb @@ -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)