From: Arlen Cuss Date: 2008-02-21T10:59:15+09:00 Subject: Re: Beginner help - txt dungeon ------=_Part_693_3346006.1203559162410 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Feb 21, 2008 at 8:10 AM, fedzor wrote: > whats the difference between File.delete and File.unlink? > None: they are defined to refer to the same function in the code: rb_define_singleton_method(rb_cFile, "unlink", rb_file_s_unlink, -2); rb_define_singleton_method(rb_cFile, "delete", rb_file_s_unlink, -2); Aliased, if you like. Still, `unlink' is the preferred terminology, I think. (besides, that's the name used for the C function [rb_file_s_unlink]) Arlen ------=_Part_693_3346006.1203559162410--