add ruby snippets