Added the ruby example sent to me