Actual directory

Why is used *File.dirname(__FILE__)* instead of simply '.' ?

Cause your current directory '.' is not always the location of the
ruby file, __FILE__ is.

ยทยทยท

On Oct 14, 1:59 pm, Kless <jonas....@googlemail.com> wrote:

Why is used *File.dirname(__FILE__)* instead of simply '.' ?