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:
parent
544cd3fb91
commit
bbb3162dd2
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue