ruby snippets for the talk