def get_vs_ab
      results = []
      abs = get_game.get_atbats
      abs.each do |ab|
        if ab.pitcher_id == @pid
          results << ab
        end
      end
      results
    end
def get_vs_ab
      results = []
      abs = get_game.get_atbats
      abs.each do |ab|
        if ab.pitcher_id == @pid
          results << ab
        end
      end
      results
    end
def get_vs_ab results = [ ] abs = get_game . get_atbats abs . each do | ab | if ab . pitcher_id == @pid results << ab end end results end
Returns an array of the atbats against this pitcher during this game
Returns an array of the atbats against this pitcher during this game