instance method
Gem::Installer#installed_specs
installed_specs
lib/rubygems/installer.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/installer.rb, line 344
def installed_specs
@installed_specs ||= begin
specs = []
Gem::Util.glob_files_in_dir("*.gemspec", File.join(gem_home, "specifications")).each do |path|
spec = Gem::Specification.load path
specs << spec if spec
end
specs
end
end
See also
#installation_satisfies_dependency?
#load_plugin
#install
#load_relative_enabled?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0