Class A
def a
#some code
end
end
Class B
def a
#some code
super
end
end
I want to if B is receive 'super' message. Thanks.
On Sep 30, 2010, at 7:59 PM, David Chelimsky wrote:
> On Sep 30, 2010, at 4:02 AM, Zhi-Qiang Lei wrote:
>
>> Dear All,
>>
>> Class B is a subclass of class A. Could anyone tell me how to monitor if
>> object created from class B receives a super message when its method is
>> invoked. Thanks.
>
> I don't know of a way to do that. What problem are you trying to solve?
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users