Sorry I'm getting my langanges mixed up.

Gerald Ebberink
Laser Technician

NCLR B.V.
PO box 2662
Enschede 7500CR
The Netherlands
	Work: 31 53 4891110
Direct: 31 53 4893961
Fax: 31 53 4891102
Email: g.h.p.ebberink / nclr.nl

http://www.linkedin.com/in/geraldebberink

 

	
 	 Want a signature like this?	

-----Original Message-----
From: burn.redmond.burn / gmail.com [mailto:burn.redmond.burn / gmail.com] 
Sent: woensdag 31 januari 2007 12:50
To: ruby-talk ML
Subject: Re: Accesing the name of an instance from within an method

On Jan 31, 11:35 am, "Gerald Ebberink" <g.h.p.ebber... / nclr.nl> wrote:
>
> Now I come to think of it I could try to overload the = operater to let
some
> internal variable be changed when the reference is changed but then I
still
> need the name of the variable.

You can't overload the assignment operator. It's not a method. See
page 324 of the pickaxe.