<commit_before>module GoogleReader
  class Feed
    
    def initialize
      
    end
    
  end
end<commit_msg>Feed stores the useful values, prints nicely<commit_after>module GoogleReader
  class Feed
    
    attr_reader :url, :title
    
    def initialize(hash,api)
      # strip the first 5 characters of the url (they are 'feed/')
      @url = hash['id'][5..-1]
      @title = hash['title']
      # no idea what this is used for
      @sortid = hash['sortid']
      @categories = hash['categories']
      @firstitemmsec = hash['firstitemmsec']
      
      @api = api
    end
    
    def inspect
      to_s
    end
    
    def to_s
      "<<Feed: #{title} url:#{url}>>"
    end
    
  end
end
{'fraction_non_alphanumeric': 0.10113960113960115, 'fraction_numerical': 0.004273504273504274, 'mean_word_length': 2.0432900432900434, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '384212', 'n_tokens_mistral': 227, 'n_tokens_neox': 224, 'n_words': 66}