Why do some rulers have a metal edge?

The metal strip gives a wooden ruler a durable, straight edge for guiding a pen or pencil. On some models the edge also helps keep wet ink from wicking beneath the ruler.

The strip is a drawing guide. The printed scale still tells you how far apart two marks are. A pen riding against a clean, straight edge can make a crisp line without following the grain or a nick in the wood. Westcott’s explanation of its metal strip

Look at the edge from the end

Flush edge

The guide meets the paper. It gives a pencil a firm surface to follow.

Raised or beveled edge

A small gap at the drawing edge keeps the underside away from the wet line. Drafting straightedges may use a bevel or a raised lip for this purpose.

Musashino Art University’s illustrated guide to straightedges

Try it on scrap paper

Draw one short line against each long edge with the same felt-tip pen, then lift the ruler straight up. Check for a fuzzy strip beside either line or ink on the ruler’s underside. The result depends on the shape of your ruler’s edges and how wet the pen is.