[MacRuby-devel] "can't convert Class into String (TypeError)"
Nathaniel Talbott
nathaniel at talbott.ws
Wed May 4 08:19:16 PDT 2011
On Wed, May 4, 2011 at 10:31, Nathaniel Talbott <nathaniel at talbott.ws> wrote:
> Am I doing something stupid here, or is something broken underneath?
To answer my own question, I was doing something stupid. Turns out the
argument to "modes:" should be an array of strings, not a single
string.
One thing I learned: if something's not working in MacRuby, it's
helpful to try it out in native ObjC since the error message there is
typically a lot more helpful.
--
Nathaniel Talbott
<:((><
More information about the MacRuby-devel
mailing list