Ruby snippets.