method

datadir

v1_9_3_125 - Show latest stable - Class: RbConfig
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}”.