Sha256: f0494c58c42b8d7e9047a5a8bb3a1d6d291a1d3f0b1f2cb03845000ce548c026
Contents?: true
Size: 647 Bytes
Versions: 15
Compression:
Stored size: 647 Bytes
Contents
# coding: utf-8 require 'fig/environment_variables' module Fig; end; module Fig::EnvironmentVariables; end # Manager of a set of environment variables where the variable names are # case-sensitive, e.g. on *nix. class Fig::EnvironmentVariables::CaseSensitive include Fig::EnvironmentVariables def [](key) return @variables[key] end def []=(new_key, new_value) @variables[new_key] = new_value return end def prepend_variable(key, new_value) if @variables.key?(key) @variables[key] = new_value + File::PATH_SEPARATOR + @variables[key] else @variables[key] = new_value end return end end
Version data entries
15 entries across 15 versions & 1 rubygems