i using ruby on rails programing language for the making a very simple project which is need to create folder hierarchy ju开发者_StackOverflow社区st like yahoomail folder. but i need to also subfolder create in this directory so is support ruby on rails?
Yes, it does.
You can create recursive directories using
require 'fileutils'
FileUtils.mkdir_p 'my/path/to/something'
Following links can be useful for you http://rosettacode.org/wiki/Walk_a_directory/Recursively#Ruby, Ruby: how do I recursively find and remove empty directories?
精彩评论