diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:08:50 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 0b632b9cddef76514635ad460d40b3a8d346602f (patch) | |
tree | 33a2b39d30bb0c3de6600de132c7f6a4cda4e775 /lib/rubygems/available_set.rb | |
parent | 567db6064baf572e3510c0322ec536ad84c81d57 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/ClassCheck
https://github.com/rubygems/rubygems/commit/1c3356a872
Diffstat (limited to 'lib/rubygems/available_set.rb')
-rw-r--r-- | lib/rubygems/available_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/available_set.rb b/lib/rubygems/available_set.rb index 50359168b5..a06e506737 100644 --- a/lib/rubygems/available_set.rb +++ b/lib/rubygems/available_set.rb @@ -26,7 +26,7 @@ class Gem::AvailableSet s = o.set when Array s = o.map do |sp,so| - if !sp.kind_of?(Gem::Specification) || !so.kind_of?(Gem::Source) + if !sp.is_a?(Gem::Specification) || !so.is_a?(Gem::Source) raise TypeError, "Array must be in [[spec, source], ...] form" end |