lib/defog/handle.rb in defog-0.2.0 vs lib/defog/handle.rb in defog-0.3.0

- old
+ new

@@ -91,10 +91,10 @@ # Pass # :persist => true # to suppress deleting the file and so maintain the file after closing. See File#close for more # details. def open(mode, opts={}, &block) - opts = opts.keyword_args(:persist => @proxy.persist) + opts = opts.keyword_args(:persist => @proxy.persist, :size_hint => :optional) File.open(opts.merge(:handle => self, :mode => mode), &block) end end end