[How to] Post correctly formatted and colorized code on the forum?
A lot. The AI thinks anything posted on the web is gospel truth, including now it’s erroneous code that you’ve just pasted onto the web.
Apparently, the AI did not really study Ruby or SketchUp’s API very well.
We’ve already discussed the AI’s limitations in a couple of recent topic threads. (Search this category.)
Please read a primer on Ruby coding. See the learning resource list I’ve compiled here: