"Justin Bailey" <jgbailey / gmail.com> writes:

> On 1/11/07, Matthew Hailstone <matthew.hailstone / gmail.com> wrote:
>> When I execute a ruby script by the following:
>>
>> ruby <path>helloworld.rb onlyarg
>>
>> How can I find what <path> equals?
>
> The constant __FILE__ will contain the full path to the currently
> executing file.

s/constant/keyword/

> Justin
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org