From e9f6e65c49622b35bf85cfb7822417ae036de5cb Mon Sep 17 00:00:00 2001 From: Mari Imaizumi Date: Wed, 19 Jun 2024 00:26:50 +0900 Subject: [PATCH] Remove Timeout.timeout from reline_compat.rb --- src/ruby/reline_compat.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ruby/reline_compat.rb b/src/ruby/reline_compat.rb index e62492c..49407de 100644 --- a/src/ruby/reline_compat.rb +++ b/src/ruby/reline_compat.rb @@ -6,12 +6,3 @@ def self.calculate_width(str, allow_escape_code = false) end end end - -module Timeout - def self.timeout(sec, klass = nil, message = nil, &block) - # possible problem - # See Reline using `Timeout.timeout` twice - yield - end -end -