Sha256: 0e0bbdec844f3af6eeab7cbba5609f716e0b9825acf28dd93c32d8f03db11c79
Contents?: true
Size: 630 Bytes
Versions: 36
Compression:
Stored size: 630 Bytes
Contents
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
36 entries across 36 versions & 1 rubygems