Added a couple of ruby snippets