What does Beat the dummy mean?

Beat the dummy meaning in Urban Dictionary

Male masturbation.