method
cache_gem
v1_9_3_392 -
Show latest stable
- Class:
Gem
cache_gem(filename, user_dir=false)public
Given a gem path, find the gem in cache.
Pass a string as the second argument to use a different base path, or nil/false (default) for Gem.dir.