On Mon 17 Jun 2002 at 19:11:46 +0900, nobu.nokada / softhome.net wrote: > At Mon, 17 Jun 2002 18:06:02 +0900, > Ian Macdonald wrote: > > The extension is properly loaded and initialised, but when calling > > passwd_init(), foo gets set to an empty string, not "foobar". I can't > > figure out why this is. Password is supposed to be a subclass of > > String. > > You don't call String#initialize, you need to call > rb_enable_super() in Init_Crack() and rb_call_super() in > passwd_init(). Great; I knew it would be something simple. Thank you very much. Ian -- Ian Macdonald | I was born in a Hostess Cupcake factory ian / caliban.org | before the sexual revolution! | | |