Format as ruby gem