adding snippets for ruby