Deal of the Day

Home » Main » Manning Forums » 2008 » The Well-Grounded Rubyist

Thread: Typo, ;. 236

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
tedroche

Posts: 3
From: Contoocook, NH USA
Registered: 5/6/09
Typo, ;. 236
Posted: Aug 20, 2009 10:23 AM
  Click to reply to this thread Reply

The second code example of writing a hash short form says:

hash = { name: David, age: 49 }

It should read:

hash = { name: "David", age: 49 }

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor