Update Ruby snippets