add ruby snippet