From: Rob Rypka Date: 2005-11-22T07:35:33+09:00 Subject: Re: mkdirs function? On 11/21/05, Daniel Sch�le wrote: > irb(main):070:0> File.makedirs > => [] > irb(main):071:0> File.makepath > NoMethodError: undefined method `makepath' for File:Class > from (irb):71 > from :0 Sorry, that should be File.mkpath. > File.makepath and File.mkdir_p seem to be undefined > as for the names I think makepath is a pretty fitting name > but I dont like abbrevations like mkdir_p mkdir_p is named as such because UNIX users get the same functionality from 'mkdir -p' at the command line. p stands for parents, as the parent directories are also created if necessary. -- Rob