ruby formatting cleanup