method

datadir

ruby latest stable - Class: RbConfig

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.

datadir(package_name)
public

Return the path to the data directory associated with the named package. If the package is loaded as a gem, return the gem specific data directory. Otherwise return a path to the share area as define by “#{ConfigMap[:datadir]}/#{package_name}”.