Skip to content

Commit

Permalink
Remove deprecated RUBY19 and RUBY18 top level constants
Browse files Browse the repository at this point in the history
They have been deprecated 9 years ago: 706c9f5
  • Loading branch information
casperisfine committed May 12, 2021
1 parent b589fa0 commit 96ba88b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/yard.rb
Expand Up @@ -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
Expand Down

0 comments on commit 96ba88b

Please sign in to comment.