summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-07-12 23:21:36 +0900
committeraycabta <aycabta@gmail.com>2020-08-18 19:08:11 +0900
commit568615d3952f332d971b00ba30eeedc3606a51c0 (patch)
treebf0e455b1a63a8f42a4a3c26cf8aeddeafe638ed /lib
parentf0e6ecec65229050e5c9a6010e09546e9773090d (diff)
[ruby/reline] Use single quotes for non-expanded string literals
https://github.com/ruby/reline/commit/3bf7c7d722
Diffstat (limited to 'lib')
-rw-r--r--lib/reline/key_stroke.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/key_stroke.rb b/lib/reline/key_stroke.rb
index 83136edcf8..017e3db00a 100644
--- a/lib/reline/key_stroke.rb
+++ b/lib/reline/key_stroke.rb
@@ -42,6 +42,8 @@ class Reline::KeyStroke
expand(expand(rhs_bytes) + expand(input.drop(lhs.size)))
when Symbol
[rhs] + expand(input.drop(lhs.size))
+ when Array
+ rhs
end
end