the writing of lines in detention class was a familiar punishment and the bursar , like everyone else , toyed with the usual practice of tying several pens to a ruler in a group attempt to write lines in threes .