Actual directory

Why is used File.dirname(FILE) instead of simply ‘.’ ?

On Oct 14, 1:59 pm, Kless [email protected] wrote:

Why is used File.dirname(FILE) instead of simply ‘.’ ?

Cause your current directory ‘.’ is not always the location of the
ruby file, FILE is.