[#192] auto-loaded script? — Julian Fondren <julian@...>
Does ruby load any particular scripts upon startup?
13 messages
1999/01/17
[#193] Re: auto-loaded script?
— gotoken@... (GOTO Kentaro)
1999/01/17
In message "[ruby-talk:00192] auto-loaded script?"
[#194] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> >Does ruby load any particular scripts upon startup?
[#195] Re: auto-loaded script?
— matz@... (Yukihiro Matsumoto)
1999/01/18
Hi.
[#197] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> rb_load_file("/home/julian/.rubyrc"); /* this line added */
[#210] Get character with no wait — Gabriel <gabriel@...>
What is the best way to do a getc without waiting; so I can try to grab
8 messages
1999/01/25
[ruby-talk:00187] Re: finalizer help please
From:
matz@... (Yukihiro Matsumoto)
Date:
1999-01-16 01:01:49 UTC
List:
ruby-talk #187
Hi.
In message "[ruby-talk:00186] Re: finalizer help please"
on 99/01/15, Clemens Hintze <c.hintze@gmx.net> writes:
|The second should be, that your destructor should never be called, I
|think. I have done a very similar approach for my first module. Matz
|has told me then, that my destructor helds a pointer to self, means to
|my instance I wish to finalize! Due to that fact the GC will never
|recognize my instance as unused. So no finalization should take place,
|as there is a pointer to my instance all the time. And for GC
|pointer-to-instance means "used".
Indeed. You'd better define finalizers in you C code.
BTW, I'm planning to add Java style finalizers to Ruby, although not
in near future. Maybe in Ruby 2.1 or 3.0.
matz.