<commit_before>require 'grit'
module GollumRails
  module Adapters
    module Gollum

      # TODO: doc
      class  Wiki

        # Initializes the class
        #
        # location - String or Grit::Repo
        def initialize(location, options={})
          
          Connector.wiki_options = options
          
          if location.is_a?(::String)
            con = location
          else
            con = location.path
          end
          
          Connector.wiki_path = con
          
        end
      
        # Static call from within any other class
        #
        # Returns a new instance of this class
        def self.wiki(location, options={})
          Wiki.new(location, options)
        end

        # Forwards unknown methods to Gollum::Wiki
        #
        # may throw an Argument error or method missing
        def self.method_missing(name, *args)
          Connector.wiki_class.send(name, *args)
        end

      end
    end
  end
end<commit_msg>removed unused method missing<commit_after>require 'grit'
module GollumRails
  module Adapters
    module Gollum

      # TODO: doc
      class  Wiki

        # Initializes the class
        #
        # location - String or Grit::Repo
        def initialize(location, options={})
          
          Connector.wiki_options = options
          
          if location.is_a?(::String)
            con = location
          else
            con = location.path
          end
          
          Connector.wiki_path = con
          
        end
      
        # Static call from within any other class
        #
        # Returns a new instance of this class
        def self.wiki(location, options={})
          Wiki.new(location, options)
        end

      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06129398410896708, 'fraction_numerical': 0.0, 'mean_word_length': 1.4084699453551912, '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': '1355145', 'n_tokens_mistral': 470, 'n_tokens_neox': 463, 'n_words': 139}