From: Sam Griffith Date: 2003-05-15T03:45:34+09:00 Subject: Using Ruby-Cocoa - how to send a Obj-C object a msg? Hello, I'm using Ruby-Cocoa and I want to be able to include some of my own classes that I've written in Obj-C and create instances of them in Ruby and then send messages. I've looked in the /usr/lib/ruby/osx directory and found an oc_wrapper.rb file that uses code something like the following: mystring = OSX::NSString.stringWithString("Hello") strLength = self.ocm_send(:length) puts strLength Does anyone know exactly what modules/classes in need to require and the correct way to use this to be able to access my Obj-C classes? Thanks for your time and help, -- Sam Griffith Jr. email: staypufd@mac.com Web site: http://homepage.mac.com/staypufd/index.html