On Sun, Mar 1, 2009 at 7:45 PM, Harry Nash <hjnash / adistantstar.com> wrote:
> Artist = ABBA
> Dir.chdir("e:/music")
> Dir["#{artist}"]
>
> I tried a number of things here, I need a positive or negitave
> return; and, how to get the return value.

If all you need is to know whether the directory exists, then
File.exist?('ABBA')
will suffice (although it is case-sensitive).

Solidarity,
lasitha