From 7ca45ce3a764a43fb2cf32582a5d533ac0b080a3 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 11 Jul 2024 22:05:16 +0400 Subject: [PATCH] TODO undef_method --- lib/hot_constants/hot_constants.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hot_constants/hot_constants.rb b/lib/hot_constants/hot_constants.rb index 2d513be..e7bbdff 100644 --- a/lib/hot_constants/hot_constants.rb +++ b/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)