|
@ -7,7 +7,7 @@ module HotConstants |
|
|
|
|
|
|
|
|
class << self |
|
|
class << self |
|
|
def initialize |
|
|
def initialize |
|
|
env_sample = Dotenv.parse('.env.sample') |
|
|
|
|
|
|
|
|
env_sample = Dotenv.parse('.env.sample') # TODO: able to detect add/remove, then either call define_method or undef_method! |
|
|
env_sample.each do |key, value| |
|
|
env_sample.each do |key, value| |
|
|
dkey = key.downcase |
|
|
dkey = key.downcase |
|
|
method = method_from_value(value) |
|
|
method = method_from_value(value) |
|
|