Backport #3195
closed
Added by trans (Thomas Sawyer) almost 14 years ago.
Updated over 4 years ago.
Description
=begin
It would be helpful if BasicObject could be back-ported to Ruby for v1.8.8. But not as the underlying superclass or all objects --I understand that's a 1.9+ feature, but just as a separate class we can use use for custom classes. For instance I have an OpenStruct-like class that could use it. Right now I use an imitation BlankSlate, but it is not very robust and I run into limitations with testing b/c of of #undef_method.
=end
=begin
Hi,
In message "Re: [ruby-core:29782] [Backport #3195] BasicObject in 1.8.8"
on Sat, 24 Apr 2010 23:40:36 +0900, Thomas Sawyer redmine@ruby-lang.org writes:
|It would be helpful if BasicObject could be back-ported to Ruby for v1.8.8. But not as the underlying superclass or all objects --I understand that's a 1.9+ feature, but just as a separate class we can use use for custom classes. For instance I have an OpenStruct-like class that could use it. Right now I use an imitation BlankSlate, but it is not very robust and I run into limitations with testing b/c of of #undef_method.
I see very little (virtually no) chance for the idea, that even
enhance the gap between 1.8 and 1.9.
matz.
=end
=begin
Oh? I thought it would help improve the bridge between 1.8.6 and 1.9.x --making it easier to transition.
=end
- Project changed from Ruby 1.8 to Backport187
- Description updated (diff)
- Status changed from Open to Closed
Also available in: Atom
PDF
Like0
Like0Like0Like0