[MacRuby-devel] Accessing Obj-C InstVars from Ruby
Benjamin Stiglitz
ben at tanjero.com
Wed Apr 1 08:07:52 PDT 2009
>>> Is there a way to access instance variables defined in an
>>> Objective-C
>>> class from a Ruby extension?
>
> It is currently not implemented, but it's technically possible. A
> good work-around is to define accessors (properties) as John
> mentioned.
Maybe we need MacRuby::Runtime to bubble up the Obj-C runtime. Or FFI.
-Ben
More information about the MacRuby-devel
mailing list