Added ruby snippets