Hi

Damphyr wrote:
> Rob Rypka wrote:
> 
>> On 11/21/05, Daniel Sche <uval / rz.uni-karlsruhe.de> wrote:
>>
>>> is there a function to make multiple directories
>>> like os.makedirs in Python?
>>
>>
>>
>> ---
>> require 'ftools'
>>
>> File.makedirs ("/path/that/does/not/exist")
>> ---
>>
>> File.makepath is also a sysnonym.
>>
> and mkdir_p :)

irb(main):070:0> File.makedirs
=> []
irb(main):071:0> File.makepath
NoMethodError: undefined method `makepath' for File:Class
         from (irb):71
         from :0
irb(main):072:0> File.mkdir_p
NoMethodError: undefined method `mkdir_p' for File:Class
         from (irb):72
         from :0
irb(main):073:0>

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
I always start guessing what may p stand for
File.makedirs is also very suitable name :)

Regards, Daniel