alias_method, not alias
This commit is contained in:
parent
c6c604a3ca
commit
d975149d6f
@ -111,8 +111,7 @@ module FakeFS
|
||||
def cd(dir)
|
||||
FileSystem.chdir(dir)
|
||||
end
|
||||
|
||||
alias :chdir :cd
|
||||
alias_method :chdir, :cd
|
||||
end
|
||||
|
||||
class File
|
||||
|
Loading…
Reference in New Issue
Block a user