add Ruby sample code