@adamb said:
Is that right? I believe the Ruby in SketchUp is the full language but with some extra hooks to support that proxy nature of Ruby objects wrt to the underlying COM stuff.
How is the behaviour of the Set class different?
http://code.google.com/apis/sketchup/docs/ourdoc/set.html
Methods:
Compared to standard Ruby: http://ruby-doc.org/core/classes/Set.html
SetClass.png
I believe it was some Googler that mentioned that it was not a full installation. Maybe they meant it was not a standard installation as they modify several methods in the base classes. And I have no idea why they did what they did to the Set class. I've been trying to get info on this for a while now.
I can't find the exact thread now, but I did find report is issues when some Ruby packages where tried within Su Ruby. http://forums.sketchucation.com/viewtopic.php?f=180&t=20297&start=0#p169325
If you look at the lib/ruby/1.8/ folder for a standard Ruby install you find several classes missing. Base64 is one of them. I've not mapped out everything that's missing.