aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/resolver/local_specification.rb
blob: dcca6c736a1c331a5effab7cc75be5981d0f3cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
##
# A LocalSpecification comes from a .gem file on the local filesystem.

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

    super
  end

end