[MacRuby-devel] NSAssert equivalent in MacRuby?

Laurent Sansonetti lsansonetti at apple.com
Tue Jan 12 15:47:45 PST 2010


def NSAssert(condition); abort unless condition; end # ? :-)

Laurent

On Jan 11, 2010, at 10:42 PM, Michael Johnston wrote:

> Hi,
>
> Is there an equivalent of the NSAssert macro in MacRuby?
>
> Thanks,
>
> Michael Johnston
> lastobelus at mac.com
>
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list