Appease rubocop, who is correct

This commit is contained in:
Rick Bradley 2022-08-08 16:47:19 -05:00
Родитель d57297e929
Коммит a4c0ca5d50
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -61,13 +61,13 @@ module Entitlements
# Allows maintaining version compatibility with older versions of Ruby
def self.ruby_version2?
@ruby_version2 ||= (
Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.0.0') &&
Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.0')
Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.0.0") &&
Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.0.0")
)
end
def self.ruby_version3?
@ruby_version3 ||= (Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0'))
@ruby_version3 ||= (Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0.0"))
end
# Allows interpretation of ERB for the configuration file to make things less hokey.