clayallsopp/rubymotion-tutorial — pull request #14 by iandundas (2013-02-25 13:15:00+00:00)
Title: bug fix on conditional statement

`f PROPERTIES.member? key`

becomes

`if PROPERTIES.member? key.to_sym`

to fix a bug where if the hash provided to Object.new contains String keys, the instance variables are not actually set on the Object. (i.e. the conditional statement requires Symbols, and doesn't recognise Strings). This is important when e.g. Object.new(json_from_server)