Config

Public Class Methods

datadir(package_name) click to toggle source

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.

    # File lib/more/facets/rbconfig.rb, line 40
40:     def self.datadir(package_name)
41:       File.join(CONFIG['datadir'], package_name)
42:     end
inspect() click to toggle source
    # File lib/more/facets/rbconfig.rb, line 26
26:   def self.inspect
27:     CONFIG.inspect
28:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.