ruby formatting and header