method

cache_dir

ruby latest stable - Class: Gem

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

cache_dir(custom_dir=false)
public

Get the appropriate cache path.

Pass a string to use a different base path, or nil/false (default) for Gem.dir.