Snippets of experiments with ruby