[Ruby] Renamed index2 to index.