What hash method is called in this code?

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 ?

On Oct 1, 2008, at 1:44 PM, Lex W. 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://codeforpeople.com/