Permalink
Browse files

add methods to pass tests in ruby 1.9.2

  • Loading branch information...
1 parent f42b1e9 commit fad7a4c92f578617d5b5d5d98edd092a77b23f44 @smtlaissezfaire smtlaissezfaire committed Nov 14, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 lib/fakefs/file.rb
View
@@ -415,6 +415,22 @@ def autoclose?
def size
File.size(@path)
end
+
+ def fdatasync
+ raise NotImplementedError
+ end
+
+ def size
+ raise NotImplementedError
+ end
+
+ def autoclose?
+ raise NotImplementedError
+ end
+
+ def autoclose=(*args)
+ raise NotImplementedError
+ end
end
if RUBY_VERSION >= "1.9.3"

0 comments on commit fad7a4c

Please sign in to comment.