Sha256: f2c801ce2dd936b700cb5102a0c87b944818a15c6104056feaab4f4dfd1c1447
Contents?: true
Size: 430 Bytes
Versions: 14
Compression:
Stored size: 430 Bytes
Contents
module Config unless self.respond_to?(:datadir) # Return the path to the data directory associated with the # given library/package name. Normally this is just # # "#{Config::CONFIG['datadir']}/#{name}" # # but may be modified by tools like RubyGems to handle # versioned data directories. def self.datadir(package_name) File.join(CONFIG['datadir'], package_name) end end end
Version data entries
14 entries across 14 versions & 1 rubygems