method

cache_dir

ruby latest stable - Class: Gem::Specification
cache_dir()
public

Returns the full path to the cache directory containing this spec’s cached gem.