From: Scott T. <ea...@ma...> - 2008-03-23 05:32:23
|
On Mac OS X (Leopard), I'm trying to embed Ruby into an Objective-C application (as opposed to writing a Cocoa application in Ruby). I've got it working, but I was curious about one aspect. To initialize Ruby, I'm calling RBApplicationInit to initialize Ruby. I know how to get at the argc and argv parameters, but the last parameter, the "id" valued parameter... how is that passed to the Ruby script named in the first parameter of RBApplicationInit? Scott |