beautifying ruby code