lib/reline/config.rb in reline-0.3.2 vs lib/reline/config.rb in reline-0.3.3
- old
+ new
@@ -91,10 +91,10 @@
def editing_mode=(val)
@editing_mode_label = val
end
def editing_mode_is?(*val)
- (val.respond_to?(:any?) ? val : [val]).any?(@editing_mode_label)
+ val.any?(@editing_mode_label)
end
def keymap
@key_actors[@keymap_label]
end