Sha256: 4f139330a5be59e9e752816ceea0029ffa887f2fdbab6a5f08c433755c7c0cbb
Contents?: true
Size: 626 Bytes
Versions: 3
Compression:
Stored size: 626 Bytes
Contents
require 'fig/environmentvariables' module Fig; end; module EnvironmentVariables; end # Manager of a set of environment variables where the variable names are # case-insensitive, 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.62 | lib/fig/environmentvariables/casesensitive.rb |
fig-0.1.61 | lib/fig/environmentvariables/casesensitive.rb |
fig-0.1.59 | lib/fig/environmentvariables/casesensitive.rb |