Rotating an Image using the Ruler Tool in Photoshop

After using the Ruler tool to take a measurement in a document, selecting Image > Image Rotation> Arbitrary will automatically enter the measurement in the Rotate Canvas dialog box.