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