From 96ba88b24e81219955d80a538dca3747bdc76b9b Mon Sep 17 00:00:00 2001 From: Jean byroot Boussier Date: Wed, 12 May 2021 16:40:15 +0200 Subject: [PATCH] Remove deprecated RUBY19 and RUBY18 top level constants They have been deprecated 9 years ago: https://github.com/lsegal/yard/commit/706c9f5f325f3f722f4c59db4e515da027499ea9 --- lib/yard.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/yard.rb b/lib/yard.rb index 6afd7a0a9..6246ee623 100644 --- a/lib/yard.rb +++ b/lib/yard.rb @@ -53,11 +53,6 @@ def self.ruby2?; @ruby2 ||= (RUBY_VERSION >= '2.0.0') end def self.ruby3?; @ruby3 ||= (RUBY_VERSION >= '3.0.0') end end -# Keep track of Ruby version for compatibility code -# @deprecated Use {YARD.ruby18?} or {YARD.ruby19?} instead. -RUBY18 = YARD.ruby18? -RUBY19 = YARD.ruby19? - # Load Ruby core extension classes Dir.glob(File.join(YARD::ROOT, 'yard', 'core_ext', '*.rb')).each do |file| require file