Questions in Creating Ruby Scripts