D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
/
Filename :
mkdir_p-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: mkpath - !ruby/object:RI::AliasName name: makedirs block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: mode noop verbose" - !ruby/struct:SM::Flow::P body: Creates a directory and all its parent directories. For example, - !ruby/struct:SM::Flow::VERB body: " FileUtils.mkdir_p '/usr/local/lib/ruby'\n" - !ruby/struct:SM::Flow::P body: causes to make following directories, if it does not exist. - !ruby/struct:SM::Flow::VERB body: " * /usr\n * /usr/local\n * /usr/local/lib\n * /usr/local/lib/ruby\n" - !ruby/struct:SM::Flow::P body: You can pass several directories at a time in a list. full_name: FileUtils#mkdir_p is_singleton: false name: mkdir_p params: (list, options = {}) visibility: public