Most Ryobi lithium packs are using the 18650 size Lithium Manganese Oxide cells made my Molicel. The 18V pack actually has 10 cells, the 12V pack I would guess has closer to 6 cells... For charging your best bet for fast charging would be a good bench power supply with adjustable voltage and current output limits, then build a cradle to mount the cells into in parallel for charging. In parallel the cells will balance out just fine. Charge ~3 amps per cell to get ~30 minute charging. Try not to put cells in parallel that are way out of balance to begin with, (check voltage beforehand, bring a really low cell up individually to be closer to the higher cell before putting them on the charger together, I'm going to take a stab/guess that as long as they are within ~0.25V they can be safely slapped on the cradle without a problem.)
If you are willing to deal with longer charging times, but just want convenience for cheap, any Li-Ion charger with termination around 4.20V will work on these type of cells.