Comparing Sketchup::Color objects

Lesson learned. Checking the docs is the first thing to do.

The second thing is to check the official API tracker for bug reports or feature requests for still unimplemented enhancements.

Even I myself ran into that one, so I avoid using the filter alias to this day.

The SketchUp API only extends the Ruby core, so coders must use Ruby core docs to keep up with Ruby core changes. I might have the change lists linked in the my Ruby Resources compilation.

Well, as this had to do with the Core vs the API, these kinds of “braking changes” will recur as SketchUp updates to new Ruby versions. Sometimes the SketchUp Extensibility folks will publish a “breaking changes” guide for devs when updates happen (usually with major Ruby version upgrades.)

1 Like