class Gem::Resolver::InstalledSpecification
Eine InstalledSpecification repräsentiert ein bereits lokal installiertes Gem.
Öffentliche Instanzmethoden
Source
# File lib/rubygems/resolver/installed_specification.rb, line 18 def install(options = {}) yield nil end
Dies ist eine Null-Installation, da diese Spezifikation bereits installiert ist. options werden ignoriert.
Source
# File lib/rubygems/resolver/installed_specification.rb, line 25 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.is_a? Gem::Source::SpecificFile super end
Gibt true zurück, wenn dieses Gem für die aktuelle Plattform installierbar ist.
Ruft die Methode der Superklasse auf
Gem::Resolver::Specification#installable_platform?Source
# File lib/rubygems/resolver/installed_specification.rb, line 54 def source @source ||= Gem::Source::Installed.new end
Die Quelle für diese Spezifikation