From: "Marcin Mielżyński" Date: 2008-01-20T07:50:37+09:00 Subject: Re: String initialziation Marcin Raczkowski pisze: >>> As a rule 'new' (which in turn calls initialize) is not called when >>> objects are constructed by literals ("", {}, [], //, etc) > That is what i wanted to know exactly. > > but i was wondering if any other method is called when literal is used? > anything that i can hook up into? > Not without hacking the interpreter, (take a look at rb_newobj and OBJSETUP macro). Rubinius makes it much easier though. lopex