Added const_missing (autospec again)
This commit is contained in:
parent
29dd607869
commit
99880eae06
@ -126,6 +126,10 @@ module FakeFS
|
||||
!!FileSystem.find(path)
|
||||
end
|
||||
|
||||
def self.const_missing(name)
|
||||
RealFile.const_get(name)
|
||||
end
|
||||
|
||||
class << self
|
||||
alias_method :exists?, :exist?
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user