From af441efb7c32f044eef761d80c852b9d2e5b5a82 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Wed, 28 Dec 2011 01:15:11 +0100 Subject: [PATCH] Remove noop assignment --- lib/mongo/gridfs/grid.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/gridfs/grid.rb b/lib/mongo/gridfs/grid.rb index 0f55e0b..d8aa018 100644 --- a/lib/mongo/gridfs/grid.rb +++ b/lib/mongo/gridfs/grid.rb @@ -70,7 +70,7 @@ module Mongo opts = opts.dup filename = opts[:filename] opts.merge!(default_grid_io_opts) - file = GridIO.new(@files, @chunks, filename, 'w', opts=opts) + file = GridIO.new(@files, @chunks, filename, 'w', opts) file.write(data) file.close file.files_id