summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/installed_specification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/resolver/installed_specification.rb')
-rw-r--r--lib/rubygems/resolver/installed_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/resolver/installed_specification.rb b/lib/rubygems/resolver/installed_specification.rb
index 8932e068be..7088be390f 100644
--- a/lib/rubygems/resolver/installed_specification.rb
+++ b/lib/rubygems/resolver/installed_specification.rb
@@ -24,7 +24,7 @@ class Gem::Resolver::InstalledSpecification < Gem::Resolver::SpecSpecification
def installable_platform?
# BACKCOMPAT If the file is coming out of a specified file, then we
# ignore the platform. This code can be removed in RG 3.0.
- return true if @source.kind_of? Gem::Source::SpecificFile
+ return true if @source.is_a? Gem::Source::SpecificFile
super
end