<commit_before>class Euro2016::Game

  attr_accessor :name, :home_team, :away_team, :score, :goals, :channel, :report

  def self.today
    doc=Nokogiri::HTML(open("http://www.espnfc.us/european-championship/74/scores"))
    binding.pry
  end

  def get_page
    Nokogiri::HTML(open("http://www.espnfc.us/european-championship/74/scores"))
  end

  def scrape_games
    doc=get_page.css("div.scores")
    games=doc.search("div.score-content")
    games.collect do |game|
      game.css("a").attribute("href").text
    end
  end

  def doc
    @doc ||= Nokogiri::HTML(open(self.url))
  end
end<commit_msg>Done.<commit_after>class Euro2016::Game

  attr_accessor :name, :home_team, :away_team, :score, :goals, :channel, :report

  def self.today
    doc=Nokogiri::HTML(open("http://www.espnfc.us/european-championship/74/scores"))
    binding.pry
  end

  

end
{'fraction_non_alphanumeric': 0.1559953434225844, 'fraction_numerical': 0.01629802095459837, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '76243', 'n_tokens_mistral': 348, 'n_tokens_neox': 322, 'n_words': 50}