From: Michael Guterl Date: 2006-10-01T03:06:43+09:00 Subject: Re: getting the name of the script in use ------=_Part_9996_2606490.1159639600207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Try __FILE__ On 9/30/06, Une b=E9vue wrote: > > > I'd like getting the name of the script in use, if i make use of $0 i > get the whole path of the script, ie : > > /path/to/script/the_script.rb > > no way to get only "the_script.rb" > > (without using file basename ?) > -- > une b=E9vue > > ------=_Part_9996_2606490.1159639600207--