require 'fileutils'
Creates a directory and all its parent directories. For example,
Creates a directory and all its parent directories. For example,
FileUtils.mkdir_p '/usr/local/lib/ruby'causes to make following directories, if it does not exist.
* /usrYou can pass several directories at a time in a list.
* /usr/local
* /usr/local/lib
* /usr/local/lib/ruby
No comments:
Post a Comment