1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Add Reline::Key#== as an alias to Reline::Key#match?

https://github.com/ruby/reline/commit/1fc3276c01
This commit is contained in:
aycabta 2021-09-05 23:35:11 +09:00 committed by git
parent 544cd3fb91
commit bbb3162dd2

View file

@ -34,6 +34,7 @@ module Reline
false
end
end
alias_method :==, :match?
end
CursorPos = Struct.new(:x, :y)
DialogRenderInfo = Struct.new(:pos, :contents, :pointer, :bg_color, :width, :height, :scrollbar, keyword_init: true)