> > i.e. the argument to defined? must be put in parentheses else MacRuby > crashes. >
Only because && binds more tightly than method application. It would be nice if some of this code found its way into the Platform gem, or similar. I've found myself writing Kernel#macruby? in libraries a couple of times. > Paul Howson > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel