lib/reline/key_stroke.rb in reline-0.1.4 vs lib/reline/key_stroke.rb in reline-0.1.5
- old
+ new
@@ -40,9 +40,11 @@
when String
rhs_bytes = rhs.bytes
expand(expand(rhs_bytes) + expand(input.drop(lhs.size)))
when Symbol
[rhs] + expand(input.drop(lhs.size))
+ when Array
+ rhs
end
end
private