Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
what hash method is called in this code?
Lex Williams
10/1/2008 7:44:00 PM
When writing :
my_hash = {"a" => "b"}
what method is called ? I tried patching initialize_copy , and
initialize , but that doesn't seem to be it . What am I missing ?
--
Posted via
http://www.ruby-...
.
1 Answer
ara.t.howard
10/1/2008 9:27:00 PM
0
On Oct 1, 2008, at 1:44 PM, Lex Williams wrote:
> When writing :
>
> my_hash = {"a" => "b"}
>
> what method is called ? I tried patching initialize_copy , and
> initialize , but that doesn't seem to be it . What am I missing ?
c code. you cannot override the creation of literals from within ruby.
a @
http://codeforp...
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
what hash method is called in this code?
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