>> dir  =  "~/Dropbox/Ruby/FlightLuggage/"
>> file = "airport.csv"
>> filename = dir + file
>
> this should also work (cross platform):
>
>    filename = File.expand_path(dir + file)
>
> or use Dir.home

Oh, thanks!

soichi

-- 
Posted via http://www.ruby-forum.com/.