Ruby code snippets.