[News] Ruby 2.0.0 Released
-
Full release log: https://github.com/marcandre/ruby/blob/news/NEWS.rdoc
-
-
I have no idea what this is or means... But I love it when you guys get new toys. Cuz that means I'll get new toys. I'm selfish that way.
-
@krisidious said:
I have no idea what this is or means...
It would mean that I can fix and/or modify the API for my OWN use, without affecting how anyone else uses the API. (And any can do the same.)
-
Would that mean one also could modify Entity instances, without affecting other scripts traversing the object? Because as it is now one cannot extend an entity without affecting others as the object is reused.
-
@thomthom said:
Would that mean one also could modify Entity instances, without affecting other scripts traversing the object?
Be more specific.
Modify how?
If you read the spec, it covers custom methods. (... and I think that is all.)
In other words, custom instance variables would not be covered, but accessor methods would.
-
This new version means that you will update all your plugins yet creatded ?
-
@unknownuser said:
This new version means that you will update all your plugins yet created ?
Not until SketchUp actually distros with Ruby 2.x
-
And TT said let it be so. Excited for all the innovation that Ruby 2.0 will allow.
-
I was very pleased to discover when I joined the SketchUp team last year that this would become true!gems anyone?
-
I don't suppose this means we can use an IDE such as RubyMine and actually perform real debugging!!
-
a question.
For me, as a user of sketchup, are the advantages of ruby 2.0
That plugin can be created with ruby 2.0? -
@pomelo3d said:
a question.
For me, as a user of sketchup, are the advantages of ruby 2.0
That plugin can be created with ruby 2.0?It means that developers of plugins have a newer platform with better features to develop for. The inclusion of the standard library is probably bigger than the version bump - but again this is first and foremost benefits for the developer.
The immediate advantage for the end user is that Ruby 2.0 finally support handling files with non-english characters - which was a big limitation. This also meant we finally could move the Plugins folder out of Program Files and avoid permission problems which haunted us and users.
Oh, and Ruby 2.0 is supposedly faster - though we've not tested this our self.
Advertisement