def set_pitchers
      @pitchers, away_pitchers, home_pitchers = [], [], []
      count = 1
      @xml_doc.elements.each("boxscore/pitching[@team_flag='away']/pitcher") { |element| 
        pitcher = PitchingAppearance.new
        pitcher.init(@gid, element, count)
        count += 1
        away_pitchers.push pitcher
      }   
      count = 1
      @xml_doc.elements.each("boxscore/pitching[@team_flag='home']/pitcher") { |element| 
        pitcher = PitchingAppearance.new
        pitcher.init(@gid, element, count)
        count += 1
        home_pitchers.push pitcher
      }   
      @pitchers << away_pitchers
      @pitchers << home_pitchers
    end
def set_pitchers
      @pitchers, away_pitchers, home_pitchers = [], [], []
      count = 1
      @xml_doc.elements.each("boxscore/pitching[@team_flag='away']/pitcher") { |element| 
        pitcher = PitchingAppearance.new
        pitcher.init(@gid, element, count)
        count += 1
        away_pitchers.push pitcher
      }   
      count = 1
      @xml_doc.elements.each("boxscore/pitching[@team_flag='home']/pitcher") { |element| 
        pitcher = PitchingAppearance.new
        pitcher.init(@gid, element, count)
        count += 1
        home_pitchers.push pitcher
      }   
      @pitchers << away_pitchers
      @pitchers << home_pitchers
    end
Sets an array of hashes where each hash holds data for a pitcher whom appeared
 in the game.  Specify either home or away team pitchers.