From: Christian Neukirchen Date: 2007-01-14T20:45:03+09:00 Subject: Re: Finding path to ruby script argument "Justin Bailey" writes: > On 1/11/07, Matthew Hailstone wrote: >> When I execute a ruby script by the following: >> >> ruby helloworld.rb onlyarg >> >> How can I find what equals? > > The constant __FILE__ will contain the full path to the currently > executing file. s/constant/keyword/ > Justin -- Christian Neukirchen http://chneukirchen.org