Adjust ruby snippets.