When I do:

ab4435 = MyClassFoo.new(blah)

I want to get instance variable name 'ab4435' inside the class for use
in a methods.

I do this in itcl using uplevel by peeking at the calling stack frame
within the constructor and setting an instance variable mThis to the
string on the left of the = sign.

What's the ruby way to do this?

thanks,

Kape

-- 
Posted via http://www.ruby-forum.com/.