class FSPath
Public Instance Methods
rmtree_verbose()
click to toggle source
# File lib/doc/core_ext.rb, line 61 def rmtree_verbose require 'fileutils' FileUtils.rm_r(@path, :verbose => true) end
touch(atime = nil, mtime = nil)
click to toggle source
# File lib/doc/core_ext.rb, line 56 def touch(atime = nil, mtime = nil) open('w'){} unless exist? utime(atime ||= Time.now, mtime || atime) end