Registry / utility / convert-global-env

convert-global-env

JSON →
library1.1.4rbrubygemsunverified

Translates strings like $FOO/bar into the corresponding ENV variable value, e.g., ENV['FOO']+'/bar'.

gem install convert_global_env
INSTALL
IMPORT
SIG · CONVERT-GLOBAL-ENV
C
convert-global-env
utilityrubyv1.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConvertGlobalEnv
require 'convert_global_env'

Expand environment variable references in a string

require 'convert_global_env' ENV['FOO'] = '/usr' result = ConvertGlobalEnv.convert('$FOO/local/bin') puts result
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
30
Resources
convert-global-env — gem install convert-global-env · libregistry