From: djberg96@... (Daniel Berger) Date: 2002-04-19T00:47:09+09:00 Subject: Confused by example in Pickaxe book Hi all, On p. 181 of the Pickaxe, the example defines the "initialize" method like this: rb_define_method(cCDPlayer,"initialize",cd_init,1); Yet, in the "new" method it's called like this: rb_obj_call_init(tdata,1,argv); First, isn't that 2 arguments instead of 1 (remembering to exclude 'self', i.e. tdata, as an argument). What is the '1' for? Second, what is the purpose of this? VALUE argv[1]; argv[0] = unit; What is happening here? Much confused. Regards, Dan