Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Accesing the name of an instance from within an method
Gerald Ebberink
1/31/2007 12:25:00 PM
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/gera...
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.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Accesing the name of an instance from within an method
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password