Thanks Matt:

I didn't see super in the ruby-doc.org/ruby-1.9/index.html unless super is 
short for superclass.

Can I reach a superclass method without having the message go first to my 
subclass override of the method?

Bob Rice


On Sep 7, 2010, at 3:26 PM, Matt Aimonetti wrote:

> No it's not unique to MacRuby (Ruby and Obj-C support that feature) and yes 
> you can pass other arguments :)
> 
> - Matt
> 
> Sent from my iPhone
> 
> On Sep 7, 2010, at 12:16, Robert Rice <rice.au...@pobox.com> wrote:
> 
>> Questions on the super method:
>> 
>> Is the super method unique to MacRuby?
>> 
>> super forwards the current message to the superclass with the same method 
>> name and arguments. Is there a way to send a message to the superclass 
>> method with different arguments either from within the subclass method of 
>> the same name or from outside the subclass method of the same name to bypass 
>> the subclass method?
>> 
>> Thanks,
>> Bob Rice
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to