diff options
Diffstat (limited to 'lib/rubygems/util/list.rb')
-rw-r--r-- | lib/rubygems/util/list.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rubygems/util/list.rb b/lib/rubygems/util/list.rb index 33c40af4bb..2899e8a2b9 100644 --- a/lib/rubygems/util/list.rb +++ b/lib/rubygems/util/list.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true + module Gem - class List + # The Gem::List class is currently unused and will be removed in the next major rubygems version + class List # :nodoc: include Enumerable attr_accessor :value, :tail @@ -34,4 +36,5 @@ module Gem List.new value, list end end + deprecate_constant :List end |