Module RbConfig
In: lib/more/facets/rbconfig.rb

An extended rendition of the Ruby‘s standard RbConfig module.

Methods

Public Class methods

Determine byte order of underlying machine. Examines the byte order of the underlying machine. Returns :big if Big Endian and :little if Little Endian.

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.

Methodized lookup of config.

[Validate]