bleeding master cylinder?

I just picked up a rebuilt master cylinder 'cause my brakes has already had it. I asked the guy how to bleed the master cylinder and he said to just run the lines back to the reservoir tank and pump it. Is that correct?

clamp it in a vice and run tubes from where the lines attach, back into the resivor. then pump the shaft until there are no bubbles