Re: [MacRuby-devel] #init, or #initialize

2011-02-24 Thread Rob Gleeson
On 24 Feb 2011, at 13:26, Eloy Durán wrote: > I use #init whenever I’m dealing with Cocoa(-like) classes and #initialize > when it's pure Ruby. I do the same with regards to camel and snake casing. > Also note that #init is not supposed to take arguments, whereas #initialize > may definitely d

Re: [MacRuby-devel] #init, or #initialize

2011-02-24 Thread Eloy Durán
I use #init whenever I’m dealing with Cocoa(-like) classes and #initialize when it's pure Ruby. I do the same with regards to camel and snake casing. Also note that #init is not supposed to take arguments, whereas #initialize may definitely do so. Any classes that inherit from NSObject directly