What is the meaning of Ruler?

A (usually rigid), flat, rectangular measuring or drawing device with graduations in units of measurement; a straightedge with markings.

A person who rules or governs; someone or something that exercises dominion or controlling power over others.

To beat with a ruler (as a traditional school punishment).

ruler (tool)

ruler (tool)

Source: wiktionary.org