Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add methods to pass tests in ruby 1.9.2
  • Loading branch information
smtlaissezfaire committed Nov 14, 2012
1 parent f42b1e9 commit fad7a4c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/fakefs/file.rb
Expand Up @@ -415,6 +415,22 @@ def autoclose?
def size def size
File.size(@path) File.size(@path)
end end

def fdatasync
raise NotImplementedError
end

def size
raise NotImplementedError
end

def autoclose?
raise NotImplementedError
end

def autoclose=(*args)
raise NotImplementedError
end
end end


if RUBY_VERSION >= "1.9.3" if RUBY_VERSION >= "1.9.3"
Expand Down

0 comments on commit fad7a4c

Please sign in to comment.