The ruler technique is a self-editing and peer review method where a writer uses a physical ruler or a straight edge to examine their text line by line. This technique helps to improve focus, allowing the writer to identify grammatical errors, awkward phrasing, or inconsistencies in their work more effectively.