D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
File
/
Filename :
makedirs-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a directory and all its parent directories. For example, - !ruby/struct:SM::Flow::VERB body: " File.makedirs '/usr/lib/ruby'\n" - !ruby/struct:SM::Flow::P body: causes the following directories to be made, if they do not exist. - !ruby/struct:SM::Flow::VERB body: " * /usr\n * /usr/lib\n * /usr/lib/ruby\n" - !ruby/struct:SM::Flow::P body: You can pass several directories, each as a parameter. If the last parameter isn't a String, verbose mode will be enabled. full_name: File::makedirs is_singleton: true name: makedirs params: (*dirs) visibility: public