Add ruby snippet