lib/mongo/collection/view/builder/find_command.rb in mongo-2.4.1 vs lib/mongo/collection/view/builder/find_command.rb in mongo-2.4.2
- old
+ new
@@ -124,11 +124,11 @@
def convert_flags(options)
return options if options.empty?
opts = options.dup
opts.delete(:cursor_type)
- Flags.map_flags(options).reduce(opts) do |opts, key|
- opts.merge!(key => true)
+ Flags.map_flags(options).reduce(opts) do |o, key|
+ o.merge!(key => true)
end
end
end
end
end