> I'm stuck here. How can I have Objective C methods "visible" from MacRuby?
In MacRuby there's a hidden additional parameter to methods or instance_methods 
to include Objective-C methods in the lists they return, for instance:

> String.instance_methods(true, true)

The first parameter is already in MRI, true by default. If true will return all 
the methods, if false only the methods declared on the object itself, not its 
ancestors.
The second parameter is specific to MacRuby, false by default. If true it will 
return the methods created in Objective-C, if false it won't.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to