An abbreviation of "To get out the ruler and compare dicks," the phrase "getting out the ruler" or "to get out the ruler" means to size up one's accomplishments with another's, or to one-up them.
I ran two miles in under 15 minutes yesterday!
Well, not to get out the ruler, but I ran two miles in under 13 minutes a few weeks ago.