<commit_before>module HttpObjects::Headers

  # Provides methods to register and retrieve HttpObjects::Headers::Tools.Header class.
  module Attributes

    # Returns Hash of registered Header classes.
    def headers
      @headers ||= {}
    end

    # Register *header_class* using *header_class.header_name*.
    def support_header(header_class)
      header_name = header_class.header_name
      headers[header_name] = header_class
      yield(header_class) if block_given?
      header_class
    end

    def support_all_headers(&block)
      HttpObjects::Headers.headers.each do |header|
        support_header(header, &block)
      end
    end

  end

end<commit_msg>I can see dead methods ...<commit_after>module HttpObjects::Headers

  # Provides methods to register and retrieve HttpObjects::Headers::Tools.Header class.
  module Attributes

    # Returns Hash of registered Header classes.
    def headers
      @headers ||= {}
    end

    # Register *header_class* using *header_class.header_name*.
    def support_header(header_class)
      header_name = header_class.header_name
      headers[header_name] = header_class
      yield(header_class) if block_given?
      header_class
    end

  end

end
{'fraction_non_alphanumeric': 0.07395234182415776, 'fraction_numerical': 0.0, 'mean_word_length': 3.3345195729537367, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4109247', 'n_tokens_mistral': 347, 'n_tokens_neox': 335, 'n_words': 91}