summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/local_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:08:50 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit0b632b9cddef76514635ad460d40b3a8d346602f (patch)
tree33a2b39d30bb0c3de6600de132c7f6a4cda4e775 /lib/rubygems/resolver/local_specification.rb
parent567db6064baf572e3510c0322ec536ad84c81d57 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/ClassCheck
https://github.com/rubygems/rubygems/commit/1c3356a872
Diffstat (limited to 'lib/rubygems/resolver/local_specification.rb')
-rw-r--r--lib/rubygems/resolver/local_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/resolver/local_specification.rb b/lib/rubygems/resolver/local_specification.rb
index c27bab0f5a..1d17c70529 100644
--- a/lib/rubygems/resolver/local_specification.rb
+++ b/lib/rubygems/resolver/local_specification.rb
@@ -7,7 +7,7 @@ class Gem::Resolver::LocalSpecification < Gem::Resolver::SpecSpecification
# Returns +true+ if this gem is installable for the current platform.
def installable_platform?
- return true if @source.kind_of? Gem::Source::SpecificFile
+ return true if @source.is_a? Gem::Source::SpecificFile
super
end