alias_method, not alias

This commit is contained in:
Chris Wanstrath 2009-07-22 00:23:44 -07:00
parent c6c604a3ca
commit d975149d6f

View File

@ -111,8 +111,7 @@ module FakeFS
def cd(dir) def cd(dir)
FileSystem.chdir(dir) FileSystem.chdir(dir)
end end
alias_method :chdir, :cd
alias :chdir :cd
end end
class File class File