Return File.join(File.dirname(dirname),strings).
Return File.join(File.dirname(dirname),strings)
File.joindir(__FILE__,'foo.txt') => '/home/john/foo.txt'
9 10 11
# File 'lib/webget_ramp/file.rb', line 9 def File.joindir(dirname,*strings) File.join(File.dirname(dirname),strings) end