From: FUJIMOTO H. <hi...@im...> - 2004-01-09 04:38:42
|
At Thu, 1 Jan 2004 17:35:27 -0700, Rod Schmidt wrote: > I was wondering how the below would work with your own class and with > calling methods with arguments. For example I have a class called > Engine written in Ruby with a constructor that takes a file name. How > do I get the class to pass to initWithRubyObject and how do I pass > arguments to a method. Is it as simple as [class new: filename] or > [[class alloc] init: filename]; Basically how do ruby's allocation > scheme translate when you're trying to use it as an objective-c class. I tried it now. Then I noticed that there is no way to pass arguments as you say, sorry. I want to keep developing rubycocoa for totally redesigning and refactoring including the above issue. But it's impossible to do so immediately, without a sponsor for a cost, because I have to do many real work. thanks, -- Hisa |