Update README.md

Revised code examples to be presented as Ruby for much better readability.