<commit_before>module Resume
  module PDF
    module TransparentLink
      def self.extended(base)
        base.send(:private_class_method, :transparent_link)
      end

      def transparent_link(pdf, logo)
        pdf.transparent(0) do
          pdf.formatted_text(
            [
              {
                text: '|' * logo[:bars],
                size: logo[:size],
                link: logo[:link]
              }
            ], align: logo[:align]
          )
        end
      end
    end
  end
end<commit_msg>Explicitly declare transparent_link as a module_function so Reek doesn't think it could refer to instance state<commit_after>module Resume
  module PDF
    module TransparentLink
      def self.extended(base)
        base.send(:private_class_method, :transparent_link)
      end

      def transparent_link(pdf, logo)
        pdf.transparent(0) do
          pdf.formatted_text(
            [
              {
                text: '|' * logo[:bars],
                size: logo[:size],
                link: logo[:link]
              }
            ], align: logo[:align]
          )
        end
      end
      module_function :transparent_link
    end
  end
end
{'fraction_non_alphanumeric': 0.0829103214890017, 'fraction_numerical': 0.001692047377326565, 'mean_word_length': 1.53862660944206, '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': '909777', 'n_tokens_mistral': 333, 'n_tokens_neox': 321, 'n_words': 76}