Flowdock
method

makedirs

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: File

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

These similar methods exist in v2_5_5:

makedirs(*dirs) public

Creates a directory and all its parent directories. For example,

File.makedirs '/usr/lib/ruby'

causes the following directories to be made, if they do not exist.

* /usr
* /usr/lib
* /usr/lib/ruby

You can pass several directories, each as a parameter. If the last parameter isn’t a String, verbose mode will be enabled.

Show source
Register or log in to add new notes.