Ruby snippets draft

Copied from other source, but with the insanity commented out.