Added ruby snippet