Ruby sample