Implemented FileUtils#rm_r

This commit is contained in:
Tymon Tobolski 2009-07-20 16:01:48 +02:00 committed by Chris Wanstrath
parent d975149d6f
commit 29dd607869
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,12 @@ FakeFS provides a test suite and works with symlinks. It's also strictly a
test-time dependency: your actual library does not need to use or know about
FakeFS.
Speed?
------
http://gist.github.com/150348
Authors
-------

View File

@ -19,6 +19,7 @@ module FakeFS
FileSystem.delete(path)
end
alias_method :rm_rf, :rm
alias_method :rm_r, :rm
def ln_s(target, path)
raise Errno::EEXIST, path if FileSystem.find(path)