From e5d7b716ed2e8419cd3c58fabdd8f8c3f1810794 Mon Sep 17 00:00:00 2001 From: Scott Barron Date: Mon, 26 Oct 2009 23:02:18 +0800 Subject: [PATCH] Support FileUtils.rm_f as well --- lib/fakefs/fileutils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fakefs/fileutils.rb b/lib/fakefs/fileutils.rb index 8b62905..6eb5c6f 100644 --- a/lib/fakefs/fileutils.rb +++ b/lib/fakefs/fileutils.rb @@ -25,6 +25,7 @@ module FakeFS alias_method :rm_rf, :rm alias_method :rm_r, :rm + alias_method :rm_f, :rm def ln_s(target, path, options = {}) options = { :force => false }.merge(options)