Rewrote examples in README to Ruby 1.9.x syntax. [ci-skip]