ruby-changes:67331
From: aycabta <ko1@a...>
Date: Sun, 29 Aug 2021 20:31:18 +0900 (JST)
Subject: [ruby-changes:67331] 74ba532883 (master): [ruby/reline] Remove an unnecessary variable
https://git.ruby-lang.org/ruby.git/commit/?id=74ba532883 From 74ba5328833b2033128425995b03cce4cd7a3505 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 29 Aug 2021 19:49:21 +0900 Subject: [ruby/reline] Remove an unnecessary variable https://github.com/ruby/reline/commit/3b8cc5ce0a --- lib/reline.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/reline.rb b/lib/reline.rb index 6610ceb..81d8428 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -256,7 +256,6 @@ module Reline https://github.com/ruby/ruby/blob/trunk/lib/reline.rb#L256 unless confirm_multiline_termination raise ArgumentError.new('#readmultiline needs block to confirm multiline termination') end - context = [] add_dialog_proc(:autocomplete, Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE, Reline::DEFAULT_DIALOG_CONTEXT) add_dialog_proc(:show_doc, Reline::SHOW_DOC_DIALOG, Reline::DEFAULT_DIALOG_CONTEXT) inner_readline(prompt, add_hist, true, &confirm_multiline_termination) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/