[MacRuby-devel] [MacRuby] #601: hashes with empty values cannot writeToFile
MacRuby
ruby-noreply at macosforge.org
Thu Feb 4 01:14:35 PST 2010
#601: hashes with empty values cannot writeToFile
--------------------------------+-------------------------------------------
Reporter: lastobelus@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by lastobelus@…):
this is invalid, and came from my confusing setValue:forKey with
setObject:forKey. setValue:forKey ignores nils, which is why the obj c
code I was trying to convert worked. It was a series of setValue:forKey
statements which I erringly replaced with a hash literal.
--
Ticket URL: <http://www.macruby.org/trac/ticket/601#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list