Module: RedisVars
- Defined in:
- lib/redis_vars.rb,
lib/redis_vars/cli.rb,
lib/redis_vars/store.rb,
lib/redis_vars/config.rb,
lib/redis_vars/version.rb
Defined Under Namespace
Classes: CLI, Config, Store
Constant Summary
collapse
- VERSION =
"0.8.0"
Class Method Summary
collapse
Class Method Details
.load ⇒ Object
5
6
7
|
# File 'lib/redis_vars.rb', line 5
def self.load
Store.new.hash.each { |key, value| ENV[key.upcase] = value unless ENV[key.upcase] }
end
|