add snippets for ruby