Office Riddle 5

Q: Contrary to my name

I am not a queen

Hold me up to things though

And their length is seen.

A: Ruler