路漫漫其修远兮,吾将上下而求索

how to delete not empty dir by using ruby

上一篇 / 下一篇  2010-08-06 11:06:10 / 个人分类:Ruby_Watir

I normally use FileUtils for that sort of thing, e.g.,

require 'fileutils'
FileUtils.rm_rf 'directory'

TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-05-11  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 40429
  • 日志数: 76
  • 图片数: 2
  • 建立时间: 2007-11-02
  • 更新时间: 2011-08-13

RSS订阅

Open Toolbar