How does one use the assert module from within SULib?

Hi all. I was wondering, how can I use assertions in ruby when coding for SU? It doesn’t seem that the assertion module is available.

You likely need to use …


There is also profiling which should work with the latest version (it was broken in previous Ruby versions) …

Just checking … you are using the SketchUp debugger with your favorite editor ?

No. I tried to get any of those to work, but without success. I’ve just been using console output. It takes longer, but I got tired trying to setup the debug environment.

Oh, and BTW, I just wrote my own assert functions.

Worth figuring out why it doesn’t work for you. Can you elaborate what issues you were running into?