[MacRuby-devel] super method

2010-09-07 Thread Robert Rice
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 sa

Re: [MacRuby-devel] super method

2010-09-07 Thread Matt Aimonetti
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 wrote: > Questions on the super method: > > Is the super method unique to MacRuby? > > super forwards the current mess

Re: [MacRuby-devel] super method

2010-09-07 Thread Robert Rice
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 u

Re: [MacRuby-devel] super method

2010-09-07 Thread Konstantin Haase
On Sep 7, 2010, at 21:53 , Robert Rice wrote: > I didn't see super in the ruby-doc.org/ruby-1.9/index.html unless super is > short for superclass. In Ruby, super is not a real method call but a key word. Also, it does not behave exactly like a method call (implicit arguments/block and what not)

Re: [MacRuby-devel] super method

2010-09-07 Thread Matt Aimonetti
Satish has a good blog post on the matter: http://rubylearning.com/satishtalim/ruby_overriding_methods.html You can certainly call super in your subclass before making any modifications or calling super based on a condition. I hope it helps, - Matt Sent from my iPhone On Sep 7, 2010, at 12:5

Re: [MacRuby-devel] Release Build

2010-09-07 Thread Laurent Sansonetti
Hi Henry, Sorry for the late response. On Sep 6, 2010, at 5:52 PM, Henry Maddocks wrote: > I've been working on a MacRuby/Cocoa app and I'm getting to close to release. > Is their any docs on how to prepare your app for release? Any tips or tricks? > > I know I will need to embed MacRuby in my

Re: [MacRuby-devel] Cocoa Slides in MacRuby

2010-09-07 Thread Laurent Sansonetti
Hi Matthew, Looks like a valuable addition to me :) Thanks for proposing to work on this. It looks ambitious so if you need help you should probably post it on github so that others can translate the original code too. Laurent On Aug 27, 2010, at 7:52 PM, Matthew Smith wrote: > I'm looking at