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

[ruby/reline] Use Symbol for method names

https://github.com/ruby/reline/commit/479eee5393
This commit is contained in:
aycabta 2021-09-07 02:33:26 +09:00 committed by git
parent cec50ec8d6
commit 30203a6fd9

View file

@ -483,7 +483,7 @@ module Reline
#-------------------------------------------------------- #--------------------------------------------------------
(Core::ATTR_READER_NAMES).each { |name| (Core::ATTR_READER_NAMES).each { |name|
def_single_delegators :core, "#{name}", "#{name}=" def_single_delegators :core, :"#{name}", :"#{name}="
} }
def_single_delegators :core, :input=, :output= def_single_delegators :core, :input=, :output=
def_single_delegators :core, :vi_editing_mode, :emacs_editing_mode def_single_delegators :core, :vi_editing_mode, :emacs_editing_mode