From d44eb01da622f43d3dd565a4b41ee914d0442ca7 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 6 Sep 2011 15:28:12 -0400 Subject: [PATCH] RUBY-304 minor: doc fix --- lib/mongo/collection.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/mongo/collection.rb b/lib/mongo/collection.rb index 33d330b..a9a1ef8 100644 --- a/lib/mongo/collection.rb +++ b/lib/mongo/collection.rb @@ -302,8 +302,6 @@ module Mongo # for DB#error. # # @raise [OperationFailure] when :safe mode fails. - # - # @see DB#remove for options that can be passed to :safe. def save(doc, opts={}) if doc.has_key?(:_id) || doc.has_key?('_id') id = doc[:_id] || doc['_id'] @@ -335,8 +333,6 @@ module Mongo # triggers a database assertion (as in a duplicate insert, for instance). # MongoDB v2.0+. # - # @see DB#remove for options that can be passed to :safe. - # # @core insert insert-instance_method def insert(doc_or_docs, opts={}) doc_or_docs = [doc_or_docs] unless doc_or_docs.is_a?(Array) @@ -372,8 +368,6 @@ module Mongo # @raise [Mongo::OperationFailure] an exception will be raised iff safe mode is enabled # and the operation fails. # - # @see DB#remove for options that can be passed to :safe. - # # @core remove remove-instance_method def remove(selector={}, opts={}) # Initial byte is 0.