sample ruby program renew