Adding some ruby snippets.