Use Ruby 1.8 hash literal syntax in example

Fixes #20.