Module: Gem

Defined in:
lib/yard/rubygems/backports/source_index.rb,
lib/yard/rubygems/backports/gem.rb

Overview

:stopdoc:

Defined Under Namespace

Classes: DocManager, SourceIndex, Specification

Constant Summary collapse

Cache =

Cache is an alias for SourceIndex to allow older YAMLized source index objects to load properly.

SourceIndex

Class Method Summary collapse

Class Method Details

.source_indexObject

Returns the Gem::SourceIndex of specifications that are in the Gem.path



6
7
8
# File 'lib/yard/rubygems/backports/gem.rb', line 6

def source_index
  @@source_index ||= SourceIndex.from_installed_gems
end