[Ironruby-core] problem in rbx

Charles Oliver Nutter charles.nutter at sun.com
Sun Jan 13 14:03:55 EST 2008

Terence Lewis wrote:
> I believe this is due to a bug (for now) in rbx.exe regarding local
> variables. I think the current advice is to make the variable a global
> like so:
> @a = [1, 2, 3]

@ is for instance variables. $ is for globals. The above code assigns 
[1,2,3] to the instance variable @a on the toplevel object.

- Charlie

More information about the Ironruby-core mailing list