You are correct!
From our dictionary:
Yesterday's Word Quiz
Tomorrow's Word Quiz
a figure of speech in which a part is used for the whole or the whole for a part, the special for the general or the general for the special, as in ten sail for ten ships or a Croesus for a rich man.
Fact Monster Word Quiz for Kids