Changed example syntax from Ruby hash style 1.8 to 1.9