method

mkdir

Importance_1
mkdir(list, mode: nil, noop: nil, verbose: nil) public

Creates one or more directories.

FileUtils.mkdir 'test'
FileUtils.mkdir %w( tmp data )
FileUtils.mkdir 'notexist', :noop => true  # Does not really create.
FileUtils.mkdir 'tmp', :mode => 0700
Show source
Register or log in to add new notes.