diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2023-01-17 15:27:45 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-31 09:33:49 +0900 |
| commit | 70eedef32aa3e6f2a95fee7ce2582c247d274e90 (patch) | |
| tree | 4891eb3a28c83912763f0eafa8f75d5ec7a486b0 /lib | |
| parent | 7439ccf0ed45c9fed178463dc5318526e11961c2 (diff) | |
[ruby/reline] Splat is always an Array
https://github.com/ruby/reline/commit/82095bd62b
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/reline/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/config.rb b/lib/reline/config.rb index 5ba269258f..87726393a6 100644 --- a/lib/reline/config.rb +++ b/lib/reline/config.rb @@ -93,7 +93,7 @@ class Reline::Config end def editing_mode_is?(*val) - (val.respond_to?(:any?) ? val : [val]).any?(@editing_mode_label) + val.any?(@editing_mode_label) end def keymap |
