diff options
author | aycabta <aycabta@gmail.com> | 2021-09-30 20:55:50 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-10-03 14:09:03 +0900 |
commit | 2a3d0fbe172d52be9a64e0bd366c5f74177bd881 (patch) | |
tree | 4ab84217962582b5d11a4cd8755e953a8228afef /test/reline/yamatanooroti/multiline_repl | |
parent | 4401bbe8a7d9677cd3347073cf3a36b371b3ad62 (diff) |
[ruby/reline] Add newlines for readability
https://github.com/ruby/reline/commit/2a60aacebb
Diffstat (limited to 'test/reline/yamatanooroti/multiline_repl')
-rwxr-xr-x | test/reline/yamatanooroti/multiline_repl | 23 |
1 files changed, 22 insertions, 1 deletions
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') { 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) |