diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb index e9947bf..0d988d7 100644 --- a/lib/fakefs/file.rb +++ b/lib/fakefs/file.rb @@ -113,14 +113,6 @@ module FakeFS FileSystem.find(symlink.target).to_s end - def self.open(path, mode=READ_ONLY, perm = 0644) - if block_given? - yield new(path, mode, perm) - else - new(path, mode, perm) - end - end - def self.read(path) file = new(path) if file.exists?