<commit_before>module Uur
  module TablePrinting
    class TablePrinter

      def initialize(table, widths, alignments, out=$stdout)
        @table      = table
        @widths     = widths
        @alignments = alignments
        @out        = out
      end

      attr_reader :table, :widths, :alignments

      def print
        @out.puts formatted_table.header
        @out.puts formatted_table.map { |row_cells| row_cells.join(' ') }
        @out.puts
      end

      private

      def formatted_table<commit_msg>Made a few of Uur::TablePrinting::TablePrinter methods private.<commit_after>module Uur
  module TablePrinting
    class TablePrinter

      def initialize(table, widths, alignments, out=$stdout)
        @table      = table
        @widths     = widths
        @alignments = alignments
        @out        = out
      end

      def print
        @out.puts formatted_table.header
        @out.puts formatted_table.map { |row_cells| row_cells.join(' ') }
        @out.puts
      end

      private

      attr_reader :table, :widths, :alignments

      def formatted_table
{'fraction_non_alphanumeric': 0.07783882783882784, 'fraction_numerical': 0.0, 'mean_word_length': 2.0702247191011236, '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': '5987318', 'n_tokens_mistral': 337, 'n_tokens_neox': 307, 'n_words': 79}