[ruby/reline] Add comment for unused constants

FILENAME_COMPLETION_PROC and USERNAME_COMPLETION_PROC are not used by Reline.
However, they were added for compatibility with the rb-readline gem.
These constants have been retained and comments added.

https://github.com/ruby/reline/commit/98fdbd3f18
This commit is contained in:
ima1zumi 2023-01-22 21:28:01 +09:00 committed by git
parent 31d37e2406
commit 8fc69a0a7e

View File

@ -11,6 +11,7 @@ require 'reline/terminfo'
require 'rbconfig' require 'rbconfig'
module Reline module Reline
# NOTE: For making compatible with the rb-readline gem
FILENAME_COMPLETION_PROC = nil FILENAME_COMPLETION_PROC = nil
USERNAME_COMPLETION_PROC = nil USERNAME_COMPLETION_PROC = nil