RUBY-304 minor: doc fix

This commit is contained in:
Kyle Banker 2011-09-06 15:28:12 -04:00
parent 0abb2e64a9
commit d44eb01da6
1 changed files with 0 additions and 6 deletions

View File

@ -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.