lib/contrast/config/base_configuration.rb in contrast-agent-6.2.0 vs lib/contrast/config/base_configuration.rb in contrast-agent-6.3.0

- old
+ new

@@ -18,21 +18,8 @@ key = iv.to_s[1..] hsh[key] = send(key.to_sym) end hsh end - - def assign_value_to_path_array dot_path_array, value - current_level = self - dot_path_array[0...-1].each do |segment| - segment = segment.tr('-', '_') - current_level = current_level.send(segment) if current_level.cs__respond_to?(segment) - end - last_entry = dot_path_array[-1] - if current_level.nil? == false && current_level.cs__respond_to?(last_entry) - current_level.send("#{ last_entry }=", value) - end - nil - end end end end