lib/client.rb in cloudfiles-1.5.0.2 vs lib/client.rb in cloudfiles-1.5.0.3
- old
+ new
@@ -35,10 +35,10 @@
def initialize(data, chunk_size)
@size = chunk_size
@file = data
end
- def read(foo)
+ def read(foo=nil)
@file.read(@size)
end
def eof!
@file.eof!