General

Profile

duairc (Shane O'Brien)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/18/2009

07:57 PM Ruby Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
=begin
I guess the best way to explain this is with an example:

>> class A; def self.foo; 'bar'; end; end
=> nil
>> class B < A; end
=> nil
>> A.method(:foo).unbind.bind(B)
TypeError: singleton method called for a differe...
duairc (Shane O'Brien)

Also available in: Atom