South African all-rounder Dwaine Pretorius was ruled out of the T20 World Cup and the ODI series against India due to a fractured thumb.