From d975149d6f05ab7572c4d50ab64d79573489918b Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 22 Jul 2009 00:23:44 -0700 Subject: [PATCH] alias_method, not alias --- lib/fakefs.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fakefs.rb b/lib/fakefs.rb index 04f3d7d..50b9dea 100644 --- a/lib/fakefs.rb +++ b/lib/fakefs.rb @@ -111,8 +111,7 @@ module FakeFS def cd(dir) FileSystem.chdir(dir) end - - alias :chdir :cd + alias_method :chdir, :cd end class File