Method: LibGems::SourceIndex.from_installed_gems
- Defined in:
- lib/libgems/source_index.rb
.from_installed_gems(*deprecated) ⇒ Object
Factory method to construct a source index instance for a given path.
- deprecated
-
If supplied, from_installed_gems will act just like
from_gems_in. This argument is deprecated and is provided just for backwards compatibility, and should not generally be used. - return
-
SourceIndex instance
56 57 58 59 60 61 62 |
# File 'lib/libgems/source_index.rb', line 56 def from_installed_gems(*deprecated) if deprecated.empty? from_gems_in(*installed_spec_directories) else from_gems_in(*deprecated) # HACK warn end end |