[前][次][番号順一覧][スレッド一覧]

ruby-changes:68214

From: aycabta <ko1@a...>
Date: Sun, 3 Oct 2021 14:09:17 +0900 (JST)
Subject: [ruby-changes:68214] 2a3d0fbe17 (master): [ruby/reline] Add newlines for readability

https://git.ruby-lang.org/ruby.git/commit/?id=2a3d0fbe17

From 2a3d0fbe172d52be9a64e0bd366c5f74177bd881 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 30 Sep 2021 20:55:50 +0900
Subject: [ruby/reline] Add newlines for readability

https://github.com/ruby/reline/commit/2a60aacebb
---
 test/reline/yamatanooroti/multiline_repl | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/test/reline/yamatanooroti/multiline_repl b/test/reline/yamatanooroti/multiline_repl
index 473d9d0f00..c9036f71b4 100755
--- a/test/reline/yamatanooroti/multiline_repl
+++ b/test/reline/yamatanooroti/multiline_repl
@@ -91,7 +91,28 @@ opt.on('--autocomplete') { https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/multiline_repl#L91
 opt.on('--autocomplete-long') {
   Reline.autocompletion = true
   Reline.completion_proc = lambda { |target, preposing = nil, postposing = nil|
-    %w{String Struct Symbol StopIteration SystemCallError SystemExit SystemStackError ScriptError SyntaxError Signal SizedQueue Set SecureRandom Socket StringIO StringScanner Shellwords Syslog Singleton SDBM}.select{ |c| c.start_with?(target) }
+    %w{
+      String
+      Struct
+      Symbol
+      StopIteration
+      SystemCallError
+      SystemExit
+      SystemStackError
+      ScriptError
+      SyntaxError
+      Signal
+      SizedQueue
+      Set
+      SecureRandom
+      Socket
+      StringIO
+      StringScanner
+      Shellwords
+      Syslog
+      Singleton
+      SDBM
+    }.select{ |c| c.start_with?(target) }
   }
 }
 opt.parse!(ARGV)
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]