Project

General

Profile

Actions

Backport #3195

closed

BasicObject in 1.8.8

Added by trans (Thomas Sawyer) almost 14 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
[ruby-core:29782]

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

Actions #1

Updated by matz (Yukihiro Matsumoto) almost 14 years ago

=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 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

Actions #2

Updated by trans (Thomas Sawyer) almost 14 years ago

=begin
Oh? I thought it would help improve the bridge between 1.8.6 and 1.9.x --making it easier to transition.
=end

Actions #3

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Project changed from Ruby 1.8 to Backport187
  • Description updated (diff)
  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0