Update README.md

Revised code examples to be presented as Ruby for much better readability.
Merge pull request #3 from timscott/patch-1

Update README.md