add some ruby snippets