Browse Source

TODO undef_method

main
pvincent 5 months ago
parent
commit
7ca45ce3a7
  1. 2
      lib/hot_constants/hot_constants.rb

2
lib/hot_constants/hot_constants.rb

@ -7,7 +7,7 @@ module HotConstants
class << self
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|
dkey = key.downcase
method = method_from_value(value)

Loading…
Cancel
Save