alias_method, not alias
This commit is contained in:
parent
c6c604a3ca
commit
d975149d6f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user