From 9e7e71b16633abdf64bca627f5a5851fc260344c Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 8 Nov 2009 01:06:34 -0500 Subject: [PATCH] Remove File#flush (it is implemented by StringIO) --- lib/fakefs/file.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb index 279fb5c..e9947bf 100644 --- a/lib/fakefs/file.rb +++ b/lib/fakefs/file.rb @@ -221,8 +221,6 @@ module FakeFS true end - def flush; self; end - alias_method :tell=, :pos= undef_method :closed_read?