Default implementation for Module#method_added
Reported by Gregor Schmidt | December 12th, 2007 @ 08:10 AM | in 1.0 preview
In MRI Module defines an instance method called method_added. It does nothing but return nil. The attached patch implements this and adds the specs.
The spec works for MRI and JRuby - and the patched Rubinius. Unfortunately it does not work in Ruby19, since the behaviour of Module#instance_methods changed. I'm not sure, if that is a problem.
Comments and changes to this ticket
-
Tilman Sauerbeck December 18th, 2007 @ 03:04 PM
- → State changed from new to open
I believe the plan is to work towards being compatible to 1.9 when it's released. So maybe it would be a better idea to work on a solution that mimick's 1.9's behaviour.
-
Eero Saynatkari December 18th, 2007 @ 10:24 PM
1.8 is the target until 2.0 is getting ready. I do not believe that we will be targetting 1.9 at any point (unless someone feels like writing a compat layer.)
-

-
Evan Phoenix January 3rd, 2008 @ 02:59 PM
- → State changed from open to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
