<commit_before>require "invoker/power/http_response"
require "invoker/power/dns"
require "invoker/power/balancer"

module Invoker
  module Power
    class << self
      def set_tld(tld_value)
        @tld_value = tld_value
      end

      def reset_tld
        @tld_value = nil
      end

      def tld
        tld_value = @tld_value
        if !tld_value && Invoker.config
          tld_value = Invoker.config.tld
        end
        Tld.new(tld_value)
      end

      def tld_value
        tld.value
      end
    end
  end
end<commit_msg>Remove redundant tld handling code<commit_after>require "invoker/power/http_response"
require "invoker/power/dns"
require "invoker/power/balancer"
{'fraction_non_alphanumeric': 0.07402031930333818, 'fraction_numerical': 0.0, 'mean_word_length': 2.399014778325123, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3365162', 'n_tokens_mistral': 240, 'n_tokens_neox': 234, 'n_words': 50}